Hi, I have a OpenSuse 12.2 system running Samba 4.0.6 (compiled from source). Every once in a while, we run into an issue where all permissions on a file are lost. I've checked the ACLs, and they seem fine. The only way to get permissions back is to copy the file to a new name, remove the old file, and rename the file back to the original name. Can anyone help solve this issue? My smb.conf follows: # Global parameters [global] workgroup = XXXXX realm = XXXXX netbios name = XXXXX server role = active directory domain controller dns forwarder = 555.555.555.555 dns forwarder = 555.555.555.666 [netlogon] path = /usr/local/samba/var/locks/sysvol/XXXXX/scripts read only = No browseable = No [sysvol] path = /usr/local/samba/var/locks/sysvol read only = No browseable = No ## Samba shares [data] comment = General Company data path = /STR/corp/data read only = No [projects] comment = Projects path = /STR/corp/projects read only = No thanks, Tanveer
Hello Tanveer, Am 11.06.2013 21:41, schrieb Tanveer Virani:> I have a OpenSuse 12.2 system running Samba 4.0.6 (compiled from source). > Every once in a while, we run into an issue where all permissions on a file > are lost. I've checked the ACLs, and they seem fine. The only way to get > permissions back is to copy the file to a new name, remove the old file, > and rename the file back to the original name. > > Can anyone help solve this issue?- What exactly do you mean by "all permissions on a file are lost"? - Can you show the 'getfacl' output on such a file, before and after? - If permissions getting lost, did someone edit the file? - Does it happen only on a special kind of files? - etc. Please give some more information on the issue. Regards, Marc
This could be the same problem I am experiencing. My users are editing some excel files with office 2010. The files lock and lose permissions. The only way to "fix" this is to move out the file and move it back in, so it resets the file permissions with administrator. This has probably something to do with the oplocks. I am also experiencing the issue with samba 4.0.6 as a dc on fedora 18 x64. -- View this message in context: http://samba.2283325.n4.nabble.com/Losing-Permissions-of-Files-tp4649847p4649890.html Sent from the Samba - General mailing list archive at Nabble.com.