* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Allow to report
success on systems with ntsec and ntea set.
This commit is contained in:
parent
ddea76a66b
commit
c01edcda76
@ -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>
|
2004-08-28 Pierre Humblet <pierre.humblet@ieee.org>
|
||||||
|
|
||||||
* fhandler.cc (fhandler_base::write): In the lseek_bug case, set EOF
|
* fhandler.cc (fhandler_base::write): In the lseek_bug case, set EOF
|
||||||
|
@ -409,7 +409,7 @@ fhandler_disk_file::fchmod (mode_t mode)
|
|||||||
|
|
||||||
if (!SetFileAttributes (pc, pc))
|
if (!SetFileAttributes (pc, pc))
|
||||||
__seterrno ();
|
__seterrno ();
|
||||||
else if (!allow_ntsec)
|
else if (!allow_ntsec || !pc.has_acls ())
|
||||||
/* Correct NTFS security attributes have higher priority */
|
/* Correct NTFS security attributes have higher priority */
|
||||||
res = 0;
|
res = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user