September 7, 20178 yr Description: I use `force create mode` in my samba configuration to ensure files uploaded by unix clients can be edited by windows clients logged in as different users. Any share that has 'Enhanced OS X interoperability' turned on ignores my permissions override. To reproduce: Enable 'force create mode' in /boot/config/smb-extra.conf create mask = 0664 force create mode = 0664 Create a file on a mac client with permissions different from the ones you wish to force (644 is default) $ touch test $ ls -al | grep test -rw-r--r-- 1 chuckdries staff 0 Sep 6 18:31 test Enable 'Enhanced OS X interoperability' in the settings of any given share Connect to the share on the mac client Use finder to copy the test file to that share Verify that permissions were copied as is by ssh'ing into unraid. These are the unintended "actual results." root@chuckserve:/mnt/user/Projects# ls -al | grep test -rw-r--r-- 1 chuckdries users 0 Sep 6 18:31 test Delete the file from unraid, disable enhanced osx interoperability, disconnect and reconnect to the share Copy the file again with finder This time, it will have the correct (overridden) permissions. This is the expected result. It can only be achieved by disabling vfs fruit. root@chuckserve:/mnt/user/Projects# ls -al | grep test -rw-rw-r-- 1 chuckdries users 0 Sep 6 22:28 test chuckserve-diagnostics-20170906-2215.zip Edited September 7, 20178 yr by CommandLionInterface
Archived
This topic is now archived and is closed to further replies.