diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-05 17:52:35 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-03-05 23:07:31 +1100 |
commit | ace6d75ae6f953b76fa9709857af4744020cd6fb (patch) | |
tree | f125e6a22e60284437b55eb915ab62ccbe979a7c /source4/ntvfs/posix/pvfs_unlink.c | |
parent | 034bcaf14d1bc651c8b51b489aebcfa392158f2c (diff) | |
download | samba-ace6d75ae6f953b76fa9709857af4744020cd6fb.tar.gz samba-ace6d75ae6f953b76fa9709857af4744020cd6fb.tar.bz2 samba-ace6d75ae6f953b76fa9709857af4744020cd6fb.zip |
s4-pvfs: use pvfs_sys_*() functions to wrap posix calls
This allows for root override, which fixes many problems with
mismatches between NT ACL permissions and unix permissions.
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/ntvfs/posix/pvfs_unlink.c')
-rw-r--r-- | source4/ntvfs/posix/pvfs_unlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_unlink.c b/source4/ntvfs/posix/pvfs_unlink.c index 67e7d76b47..be2ba53148 100644 --- a/source4/ntvfs/posix/pvfs_unlink.c +++ b/source4/ntvfs/posix/pvfs_unlink.c @@ -123,7 +123,7 @@ static NTSTATUS pvfs_unlink_file(struct pvfs_state *pvfs, } /* finally try the actual unlink */ - if (unlink(name->full_name) == -1) { + if (pvfs_sys_unlink(pvfs, name->full_name) == -1) { status = pvfs_map_errno(pvfs, errno); } |