* fhandler.cc (fhandler_base::fpathconf): On _PC_POSIX_PERMISSIONS
and _PC_POSIX_SECURITY, return true for NFS, too.
This commit is contained in:
parent
e2406d71aa
commit
3e153bcd55
winsup/cygwin
@ -1,3 +1,8 @@
|
|||||||
|
2008-07-14 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* fhandler.cc (fhandler_base::fpathconf): On _PC_POSIX_PERMISSIONS
|
||||||
|
and _PC_POSIX_SECURITY, return true for NFS, too.
|
||||||
|
|
||||||
2008-07-14 Corinna Vinschen <corinna@vinschen.de>
|
2008-07-14 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
Throughout drop allow_ntsec and allow_smbntsec handling.
|
Throughout drop allow_ntsec and allow_smbntsec handling.
|
||||||
|
@ -1640,7 +1640,7 @@ fhandler_base::fpathconf (int v)
|
|||||||
case _PC_POSIX_PERMISSIONS:
|
case _PC_POSIX_PERMISSIONS:
|
||||||
case _PC_POSIX_SECURITY:
|
case _PC_POSIX_SECURITY:
|
||||||
if (get_device () == FH_FS)
|
if (get_device () == FH_FS)
|
||||||
return pc.has_acls ();
|
return pc.has_acls () || pc.fs_is_nfs ();
|
||||||
set_errno (EINVAL);
|
set_errno (EINVAL);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user