2014-08-20 10:05 GMT+04:00 Pavel Shilovsky <piastryyy@xxxxxxxxx>: > 2014-08-20 6:33 GMT+04:00 Steve French <smfrench@xxxxxxxxx>: >> Noticed that even with Unix Extensions on cifs mount that Samba >> refuses to delete a file in this scenario (locally and presumably over >> nfs it still works since it is in cthon suite). This causes >> connectathon special tests to fail >> >> touch newfile >> chmod 0000 newfile >> rm newfile >> >> (works locally but samba rejects) >> >> Samba 4.1 rejects posix unlink (set path info) STATUS_CANNOT_DELETE >> then client falls back to SMB unlink which fails. STATUS_CANNOT_DELETE >> then client falls back to a set path info of file info basic which >> also fails STATUS_ACCESS_DENIED >> >> Will do quick test with Samba master when build completes - but does >> this server unlink bug look familiar (or am I missing an smb.conf that >> I have forgotten about)? > > > Steve, > > I faced with exactly the same problem during my testing. > > This behavior appears after setting > > "store dos attributes = Yes" > > in smb.conf. Without this option all Cthon tests passes fine. > > I am using Samba 4.1.7 version (Ubuntu version from Jelmer's ppa > https://launchpad.net/~jelmer/+archive/ubuntu/samba-backports). Samba-3.6.18 doesn't have the problem. -- Best regards, Pavel Shilovsky. -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html