* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Allow to report
success on systems with ntsec and ntea set.
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user