diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-02-26 10:28:07 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-02-26 13:52:34 +0100 |
commit | b40be554e7775687a01704b9af0aa272cc9019d0 (patch) | |
tree | b84ff210b863b2e3efc58742bd13c4fbe0b9cc3f /source4/ntvfs | |
parent | 9f8fc29ea418c7ed2e2f206eb4789080ec9ab3f1 (diff) | |
download | samba-b40be554e7775687a01704b9af0aa272cc9019d0.tar.gz samba-b40be554e7775687a01704b9af0aa272cc9019d0.tar.bz2 samba-b40be554e7775687a01704b9af0aa272cc9019d0.zip |
pvfs_open: pass down an access mask in pvfs_can_stat()
metze
(This used to be commit 6c34c7bc6801e470e5ec50aa93d0a07f7ad59314)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r-- | source4/ntvfs/posix/pvfs_open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_open.c b/source4/ntvfs/posix/pvfs_open.c index ef05db5eac..0e4250d744 100644 --- a/source4/ntvfs/posix/pvfs_open.c +++ b/source4/ntvfs/posix/pvfs_open.c @@ -1710,7 +1710,7 @@ NTSTATUS pvfs_can_stat(struct pvfs_state *pvfs, share_access = NTCREATEX_SHARE_ACCESS_READ | NTCREATEX_SHARE_ACCESS_WRITE; - access_mask = 0; + access_mask = SEC_FILE_READ_ATTRIBUTE; delete_on_close = false; status = odb_can_open(lck, name->stream_id, |