bcpierce00 / unison

Unison file synchronizer
GNU General Public License v3.0
4.01k stars 227 forks source link

Improve syncing from CIFS mount #868

Open gdt opened 1 year ago

gdt commented 1 year ago

When a remote filesystem is mounted on UNIX via CIFS, one typically configures a user/group and mode (often 0777) for all files, as CIFS cannot express POSIX user/group/mode. Then, people want to sync these with unison. Currently unison suggests fat=true, which gets tangled up with #867. After that issue is resolved, then a way forward for this might be clearer.

To resolve this enhancement ticket, it should be possible to end up with files in normal unix filesystem synced from CIFS that have the mode that shows up in CIFS. It is expected that syncing the other way will result in files with the configured mode.

This is a placeholder ticket; broad discussion on hackers (or on users if there already), please.