public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* getfattr and symlinks
@ 2007-09-10 11:50 Zdenek Prikryl
  2007-09-11 17:33 ` Bhagi rathi
  0 siblings, 1 reply; 2+ messages in thread
From: Zdenek Prikryl @ 2007-09-10 11:50 UTC (permalink / raw)
  To: linux-xfs

Hello,
I have one question, what is right behavior of getfattr in a recursive 
mode? Should getfattr follow symlinks in this mode (without [PLh] 
parameters)?

Example:

$HOME/file.txt
$HOME/symlink -> /
...

getfattr -Rd $HOME

So what is the right result? Follow "$HOME/symlink" or not?

Thank you

Zdenek Prikryl

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: getfattr and symlinks
  2007-09-10 11:50 getfattr and symlinks Zdenek Prikryl
@ 2007-09-11 17:33 ` Bhagi rathi
  0 siblings, 0 replies; 2+ messages in thread
From: Bhagi rathi @ 2007-09-11 17:33 UTC (permalink / raw)
  To: Zdenek Prikryl; +Cc: linux-xfs

My understanding on man pages says that it doesn't follow the symlink.
Note that a symlink file itself can also have extended attributes. Unless
specified,
getfattr should just try to extract extended attributes of the symbolic link
file itself.

-Saradhi.

On 9/10/07, Zdenek Prikryl <zprikryl@redhat.com> wrote:
>
> Hello,
> I have one question, what is right behavior of getfattr in a recursive
> mode? Should getfattr follow symlinks in this mode (without [PLh]
> parameters)?
>
> Example:
>
> $HOME/file.txt
> $HOME/symlink -> /
> ...
>
> getfattr -Rd $HOME
>
> So what is the right result? Follow "$HOME/symlink" or not?
>
> Thank you
>
> Zdenek Prikryl
>
>
>


[[HTML alternate version deleted]]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-11 18:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-10 11:50 getfattr and symlinks Zdenek Prikryl
2007-09-11 17:33 ` Bhagi rathi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox