Peter Eser
2006-Nov-30 07:19 UTC
[Samba] howto force file deletion with restricted permissions
Hi, I'm running recent samba with acls and ldap (no force user or force group). Now I have a problem with file deletion. If a user A gives user B write permission on a directory and user B restricts the permission of his files in the directory of A (e.g. r--------, can be done via windows), then user A is not able to delete this files in his directory via Samba. Under linux the user can use rm -f to delete anyway. Somebody know a solution for this? man thanks, Peter
Peter Eser
2006-Dec-05 07:05 UTC
[Samba] howto force file deletion with restricted permissions
with delete readonly = yes I have a workaround, but then all users can delete a file with restricted permissions, not only the owner of the directory. Nobody any idea? thanks, Peter>Hi, > >I'm running recent samba with acls and ldap >(no force user or force group). >Now I have a problem with file deletion. >If a user A gives user B write permission on a directory >and user B restricts the permission of his files in the directory of A >(e.g. r--------, can be done via windows), then user A is not able to >delete this files in his directory via Samba. Under linux the user >can use rm -f to delete anyway. >Somebody know a solution for this? > >man thanks, Peter