diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-10-17 21:17:29 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-10-18 07:13:47 +1100 |
commit | 0463d698835053af680db4f388c732d2557f7c8a (patch) | |
tree | 49b155b104c4c8c41f42560e8032e666ca37a036 /source4/ntvfs/posix/pvfs_setfileinfo.c | |
parent | d1efaf39f51102835eda9aca12433e926354da77 (diff) | |
download | samba-0463d698835053af680db4f388c732d2557f7c8a.tar.gz samba-0463d698835053af680db4f388c732d2557f7c8a.tar.bz2 samba-0463d698835053af680db4f388c732d2557f7c8a.zip |
s4-pvfs: change the handling of access checking on create
Previously when a file was created, we produces the resulting access
mask based on an ACL check against the parent. This change means we
now calculate the inherited ACL much earlier, and produce the
resulting access mask from that ACL, or the user supplied ACL.
Diffstat (limited to 'source4/ntvfs/posix/pvfs_setfileinfo.c')
-rw-r--r-- | source4/ntvfs/posix/pvfs_setfileinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_setfileinfo.c b/source4/ntvfs/posix/pvfs_setfileinfo.c index 9fe02a8e17..244548382c 100644 --- a/source4/ntvfs/posix/pvfs_setfileinfo.c +++ b/source4/ntvfs/posix/pvfs_setfileinfo.c @@ -168,7 +168,7 @@ static NTSTATUS pvfs_setfileinfo_rename(struct pvfs_state *pvfs, } /* resolve the new name */ - status = pvfs_resolve_name(pvfs, name, new_name, 0, &name2); + status = pvfs_resolve_name(pvfs, req, new_name, 0, &name2); if (!NT_STATUS_IS_OK(status)) { return status; } |