canola.nvim/doc
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
..
api.md [docgen] Update docs 2026-02-20 21:33:22 +00:00
oil.txt feat: add configurable file and directory creation permissions 2026-02-20 20:26:07 -05:00
recipes.md docs: add recipe for custom file extension column 2026-02-20 16:16:49 -05:00