s4-pvfs: change the handling of access checking on create
authorAndrew Tridgell <tridge@samba.org>
Sat, 17 Oct 2009 10:17:29 +0000 (21:17 +1100)
committerAndrew Tridgell <tridge@samba.org>
Sat, 17 Oct 2009 20:13:47 +0000 (07:13 +1100)
commit0463d698835053af680db4f388c732d2557f7c8a
tree49b155b104c4c8c41f42560e8032e666ca37a036
parentd1efaf39f51102835eda9aca12433e926354da77
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.
source4/ntvfs/posix/pvfs_acl.c
source4/ntvfs/posix/pvfs_open.c
source4/ntvfs/posix/pvfs_resolve.c
source4/ntvfs/posix/pvfs_setfileinfo.c