On Sat, May 1, 2010 at 16:23,  <casper....@sun.com> wrote:
>
>
>>I understand you cannot lookup names by inode number in general, because
>>that would present a security violation.  Joe User should not be able to
>>find the name of an item that's in a directory where he does not have
>>permission.
>>
>>
>>
>>But, even if it can only be run by root, is there some way to lookup the
>>name of an object based on inode number?
>
> Sure, that's typically how NFS works.
>
> The inode itself is not sufficient; an inode number might be recycled and
> and old snapshot with the same inode number may refer to a different file.

No, a NFS client will not ask the NFS server for a name by sending the
inode or NFS-handle. There is no need for a NFS client to do that.

There is no way to get a name from an inode number.
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to