* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Allow to report

success on systems with ntsec and ntea set.
This commit is contained in:
Corinna Vinschen 2004-08-29 09:32:49 +00:00
parent ddea76a66b
commit c01edcda76
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-08-29 Corinna Vinschen <corinna@vinschen.de>
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Allow to report
success on systems with ntsec and ntea set.
2004-08-28 Pierre Humblet <pierre.humblet@ieee.org>
* fhandler.cc (fhandler_base::write): In the lseek_bug case, set EOF

View File

@ -409,7 +409,7 @@ fhandler_disk_file::fchmod (mode_t mode)
if (!SetFileAttributes (pc, pc))
__seterrno ();
else if (!allow_ntsec)
else if (!allow_ntsec || !pc.has_acls ())
/* Correct NTFS security attributes have higher priority */
res = 0;