diff options
author | Volker Lendecke <vl@samba.org> | 2008-06-19 14:53:46 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-06-19 15:27:41 +0200 |
commit | 066f6c856fccc791009f85492289276267e24bcf (patch) | |
tree | 2ae1efdae4d8d5c85ed75c9eab054630178a0eb7 /examples/README | |
parent | 7df309c339602d2d67e146441958818f626a0f6b (diff) | |
download | samba-066f6c856fccc791009f85492289276267e24bcf.tar.gz samba-066f6c856fccc791009f85492289276267e24bcf.tar.bz2 samba-066f6c856fccc791009f85492289276267e24bcf.zip |
Fix checks in can_delete_file_in_directory()
With at least NFSv4 ACLs around the write permission for the owner is a bogus
check if we can delete a file in a directory. Like in Windows, there are two
ways which can grant us such: First, the DELETE permission on the file itself,
or if that does not help, the DELETE_CHILD permission on the directory. It
might be a bit more code that runs, but essentially we should end up with the
same set of syscalls in the non-acl case.
(This used to be commit daa9b056645a45edfb3a70e3536011ebe5678970)
Diffstat (limited to 'examples/README')
0 files changed, 0 insertions, 0 deletions