- Joined
 - Mar 6, 2014
 
- Messages
 - 9,553
 
I am encountering the following problem on CIFS shares on FreeNAS 9.2.1.2.: ACLs are being set to give the file owner read and write access, but the group access to read-only when files are saved on CIFS shares through Microsoft Excel. If files are saved locally and copied to the CIFS share, then no ACLs are set.
 
Current workaround:
	
		
			
		
		
	
			
			Current workaround:
- On file shares where everyone has read and write access, I am using the samba flag "force user = x". This is undesirable.
 - The file owner on windows clients can manually fix the ACLs through his/her workstation. This is a hassle
 
- I want ACLs to not be set on files when they are saved in Office.
 
- Define a default ACL policy on a share-by-share basis (not sure if this is possible in samba)
 - Create a cron job that recursively deletes ACLs. (This would work in our current use-case, but I do not have experience working with ACLs so I am not sure what command to input and I am not sure how much load this would put on the server).
 
- Clients are Windows XP and Windows 7 (hopefully all Windows 7 in a week) with Office 2007.
 - At present the FreeNAS appliance is not joined to our AD domain (but workstations are domain members). Authentication is against users / groups on the FreeNAS device.
 - Shares are "windows / mac shares" with "Windows ACLs"
 - I have tried setting share type to "Unix Share". Excel still set ACLs, but said ACLs were no longer editable by the Windows client workstations.