Skip to content

Comments

feat: make default file and directory sync permissions configurable#163

Merged
spikecurtis merged 1 commit intocoder:mainfrom
Thomas-Shephard:feat/configurable-sync-permissions
Feb 17, 2026
Merged

feat: make default file and directory sync permissions configurable#163
spikecurtis merged 1 commit intocoder:mainfrom
Thomas-Shephard:feat/configurable-sync-permissions

Conversation

@Thomas-Shephard
Copy link
Contributor

@Thomas-Shephard Thomas-Shephard commented Feb 12, 2026

This PR introduces configurable default file and directory permissions for Mutagen sync sessions. This is particularly useful for web development workflows where standard Linux permissions (0644/0755) are required for the web server to access synchronized files.

Key changes:

  • Added DefaultFileMode and DefaultDirectoryMode to MutagenControllerConfig.
  • Updated MutagenController to apply these modes using PermissionsMode.Portable.

- Added 'DefaultFileMode' and 'DefaultDirectoryMode' to MutagenControllerConfig.
- Updated MutagenController to apply these modes using PermissionsMode.Portable.
- Provisioned default modes (0644/0755) in the installer and app defaults.
- Updated App.csproj to correctly bundle Assets during publish to ensure installer reliability.
@Thomas-Shephard Thomas-Shephard force-pushed the feat/configurable-sync-permissions branch from 93fc76b to 4f5203e Compare February 12, 2026 15:07
@matifali matifali requested a review from spikecurtis February 16, 2026 07:17
@spikecurtis spikecurtis merged commit c54693e into coder:main Feb 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants