Hi, I am having a problem after upgrading from 2.2.1 to 3.0.13, we also changed domains from NT 4 to Active Directory. The problem appears to be with ACL's. Samba is working fine and the ACL's seem to be working fine as well but I am running into a problem when trying to delete a file. For example, a user has a directory and his Unix permissions are 755, but he has an ACL configured that specifies my group should be able to rwx on his directory. In Samba, I can create a file in his directory (which tells me the acl's are working) and I can edit it and save it as well. However, I cannot rename it or delete it. And, he can only read the file. He cannot edit, rename it or delete it either. I am the owner of the file, I should be able to delete it, right? BTW, I am able to create and delete directories just fine!! I have tried to enable map acl inherit, inherit acls, inherit permissions, etc But nothing seems to be able to fix it. This is a production environment that is down so any help would be appreciated ! Thanks, Tom. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Adam Nielsen
2006-May-31 23:57 UTC
[Samba] Cannot delete a file, but I can create and edit it !!
> In Samba, I can create a file in his directory (which tells me the > acl's are working) and I can edit it and save it as well. > However, I cannot rename it or delete it. And, he can > only read the file. He cannot edit, rename it or > delete it either. I am the owner of the file, I should > be able to delete it, right? > > BTW, I am able to create and delete directories just > fine!!This sounds like the exact same problem I'm having - I just tried it and I can indeed delete the directories I create, but not the files. This is sounding more and more like a bug - you'll probably want to follow the thread above called "Cannot delete files from samba share" as I suspect it's the same problem. Cheers, Adam.
Reasonably Related Threads
- A windows user can create a file, but cannot delete
- Inherited ACLs can not be removed on Solaris10 sparc
- ACL and delete files
- Problems with inconsistent ACL inheritance and permissions after Samba upgrade
- Samba trusted domains and access control lists problem (cannot delete or rename)