svn commit: samba r3160 - in branches/SAMBA_4_0/source/ntvfs/posix:
.
tridge at samba.org
tridge at samba.org
Sun Oct 24 13:41:27 GMT 2004
Author: tridge
Date: 2004-10-24 13:41:27 +0000 (Sun, 24 Oct 2004)
New Revision: 3160
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/ntvfs/posix&rev=3160&nolog=1
Log:
recognise RAW_SFILEINFO_DISPOSITION_INFORMATION (fixes temporary files from excel)
Modified:
branches/SAMBA_4_0/source/ntvfs/posix/pvfs_setfileinfo.c
Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/posix/pvfs_setfileinfo.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/posix/pvfs_setfileinfo.c 2004-10-24 13:40:49 UTC (rev 3159)
+++ branches/SAMBA_4_0/source/ntvfs/posix/pvfs_setfileinfo.c 2004-10-24 13:41:27 UTC (rev 3160)
@@ -48,6 +48,7 @@
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 @@
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;
}
More information about the samba-cvs
mailing list