* fhandler.cc (fhandler_base::fpathconf): On _PC_POSIX_PERMISSIONS

and _PC_POSIX_SECURITY, return true for NFS, too.
This commit is contained in:
Corinna Vinschen 2008-07-14 20:46:27 +00:00
parent e2406d71aa
commit 3e153bcd55
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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: