diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-10-24 13:41:27 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:02:27 -0500 |
commit | 36e32628468ca4b84f06d45698771a6903b5c47f (patch) | |
tree | 8a5bb3e1bfaad568d2b1a25c8bdc0c3618d6d0f2 /source4/ntvfs/posix/pvfs_setfileinfo.c | |
parent | 5ea5d5c2355eb0789131cd5d9ffffc5b004b02c8 (diff) | |
download | samba-36e32628468ca4b84f06d45698771a6903b5c47f.tar.gz samba-36e32628468ca4b84f06d45698771a6903b5c47f.tar.bz2 samba-36e32628468ca4b84f06d45698771a6903b5c47f.zip |
r3160: recognise RAW_SFILEINFO_DISPOSITION_INFORMATION (fixes temporary files from excel)
(This used to be commit 1c05147f7103127c11b06bb0a812970577ace5f6)
Diffstat (limited to 'source4/ntvfs/posix/pvfs_setfileinfo.c')
-rw-r--r-- | source4/ntvfs/posix/pvfs_setfileinfo.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/pvfs_setfileinfo.c b/source4/ntvfs/posix/pvfs_setfileinfo.c index 0de87b8584..74b0ed85c5 100644 --- a/source4/ntvfs/posix/pvfs_setfileinfo.c +++ b/source4/ntvfs/posix/pvfs_setfileinfo.c @@ -48,6 +48,7 @@ NTSTATUS pvfs_setfileinfo(struct ntvfs_module_context *ntvfs, return pvfs_map_errno(pvfs, errno); } break; + case RAW_SFILEINFO_SETATTRE: unix_times.actime = info->setattre.in.access_time; unix_times.modtime = info->setattre.in.write_time; @@ -66,7 +67,9 @@ NTSTATUS pvfs_setfileinfo(struct ntvfs_module_context *ntvfs, return NT_STATUS_ACCESS_DENIED; } break; + case RAW_SFILEINFO_DISPOSITION_INFO: + case RAW_SFILEINFO_DISPOSITION_INFORMATION: if (!(f->access_mask & STD_RIGHT_DELETE_ACCESS)) { return NT_STATUS_ACCESS_DENIED; } |