mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-18 23:12:15 +08:00
* 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>
|
||||
|
||||
* 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))
|
||||
__seterrno ();
|
||||
else if (!allow_ntsec)
|
||||
else if (!allow_ntsec || !pc.has_acls ())
|
||||
/* Correct NTFS security attributes have higher priority */
|
||||
res = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user