diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-11-13 06:46:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:46 -0500 |
commit | 1b2b72ff61c6e81189fd0552bfce5d2c7d365554 (patch) | |
tree | d5e820087ea577b3b8dd9f03569bc9fe322dd108 /source4/ntvfs/posix/pvfs_open.c | |
parent | 1c59d825afc3cdfe2ea42821123ece934ad7b5e0 (diff) | |
download | samba-1b2b72ff61c6e81189fd0552bfce5d2c7d365554.tar.gz samba-1b2b72ff61c6e81189fd0552bfce5d2c7d365554.tar.bz2 samba-1b2b72ff61c6e81189fd0552bfce5d2c7d365554.zip |
r3718: added support for the ntrename level in pvfs_rename().
(This used to be commit 3d50982f5419b9a5c53f2b82a2313669cdeaaa21)
Diffstat (limited to 'source4/ntvfs/posix/pvfs_open.c')
-rw-r--r-- | source4/ntvfs/posix/pvfs_open.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/ntvfs/posix/pvfs_open.c b/source4/ntvfs/posix/pvfs_open.c index af0f46ece3..b07922dcbd 100644 --- a/source4/ntvfs/posix/pvfs_open.c +++ b/source4/ntvfs/posix/pvfs_open.c @@ -1118,8 +1118,7 @@ NTSTATUS pvfs_can_rename(struct pvfs_state *pvfs, struct pvfs_filename *name) status = odb_can_open(pvfs->odb_context, &key, NTCREATEX_SHARE_ACCESS_READ | - NTCREATEX_SHARE_ACCESS_WRITE | - NTCREATEX_SHARE_ACCESS_DELETE, + NTCREATEX_SHARE_ACCESS_WRITE, 0, STD_RIGHT_DELETE_ACCESS); |