I am getting several "permission errors" when using
"lstat". So far I only found this on Directories.
I changed a program to retry the "lstat" whenever
a "permission error" occurs and it works successfully.
Paulo da Silva wrote:
> I am getting several "permission errors" when using
> "lstat". So far I only found this on Directories.
> I changed a program to retry the "lstat" whenever
> a "permission error" occurs and it works successfully.
>
I'm also getting "Stale NFS file handle" error when "lstat" and
"read" a file. This seems to happen only on a VFAT filesystem
but I am not sure.
Paulo da Silva wrote:
> Paulo da Silva wrote:
>
>> I am getting several "permission errors" when using
>> "lstat". So far I only found this on Directories.
>> I changed a program to retry the "lstat" whenever
>> a "permission error" occurs and it works successfully.
>>
> I'm also getting "Stale NFS file handle" error when "lstat" and
> "read" a file. This seems to happen only on a VFAT filesystem
> but I am not sure.
I am sorry, but the error occurs when "lstat" and "open". Not "read".
Ol? Paulo,
Paulo da Silva wrote:
> Paulo da Silva wrote:
>
>> I am getting several "permission errors" when using
>> "lstat". So far I only found this on Directories.
>> I changed a program to retry the "lstat" whenever
>> a "permission error" occurs and it works successfully.
>>
> I'm also getting "Stale NFS file handle" error when "lstat" and
> "read" a file. This seems to happen only on a VFAT filesystem
> but I am not sure.
Are you exporting a FAT fs with NFS? It's expected to break in some
situations. Read http://nfs.sourceforge.net/nfs-howto/server.html
Regards,
Nuno Silva