* 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
|
@ -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>
|
||||
|
||||
Throughout drop allow_ntsec and allow_smbntsec handling.
|
||||
|
|
|
@ -1640,7 +1640,7 @@ fhandler_base::fpathconf (int v)
|
|||
case _PC_POSIX_PERMISSIONS:
|
||||
case _PC_POSIX_SECURITY:
|
||||
if (get_device () == FH_FS)
|
||||
return pc.has_acls ();
|
||||
return pc.has_acls () || pc.fs_is_nfs ();
|
||||
set_errno (EINVAL);
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue