canola.nvim/lua/oil/adapters
Barrett Ruth c6b4a7a07b
feat: add configurable file and directory creation permissions
Problem: files were always created with mode 0644 and directories
with 0755, hardcoded in fs.touch and uv.fs_mkdir. Users who need
different defaults (e.g. 0600 for security) had no config option.

Solution: add new_file_mode (default 420 = 0644) and new_dir_mode
(default 493 = 0755) config options, passed through to fs.touch and
uv.fs_mkdir in the files and mac trash adapters. The fs.touch
signature accepts an optional mode parameter with backwards
compatibility (detects function argument to support old callers).
Local cache directories (SSH, S3) continue using standard system
permissions rather than the user-configured mode.

Based on: stevearc/oil.nvim#537
2026-02-20 20:26:07 -05:00
..
files cleanup: remove deprecated trash_command 2026-01-01 00:22:58 -05:00
s3 feat: new adapter for S3 buckets (#677) 2025-11-30 12:41:37 -08:00
ssh fix: ssh adapter supports iso8601 dates (#635) 2025-06-30 16:54:22 -07:00
trash feat: add configurable file and directory creation permissions 2026-02-20 20:26:07 -05:00
files.lua feat: add configurable file and directory creation permissions 2026-02-20 20:26:07 -05:00
s3.lua feat: new adapter for S3 buckets (#677) 2025-11-30 12:41:37 -08:00
ssh.lua fix: silent handling when buffer has no oil adapter (#573) 2025-03-04 12:57:01 -08:00
test.lua refactor: remove cache side effects from adapter.list 2023-08-20 21:50:02 +00:00
trash.lua feat(trash): support for deleting to windows recycle bin (#243) 2024-01-02 22:05:01 -08:00