* path.cc (symlink_info::check): Remove erroneous assumption about

required permissions when reading NFS symlinks.
This commit is contained in:
Corinna Vinschen
2010-09-30 10:42:34 +00:00
parent 1b0358455c
commit ab3cd88858
2 changed files with 6 additions and 4 deletions

View File

@@ -2651,10 +2651,7 @@ restart:
(which can be symlinks to directories). */
else if (fs.is_nfs () && !no_ea && !(fileattr & FILE_ATTRIBUTE_DIRECTORY))
{
if (!(access & GENERIC_READ))
res = 0;
else
res = check_nfs_symlink (h);
res = check_nfs_symlink (h);
if (res)
break;
}