xfs
[Top] [All Lists]

Re: getfattr and symlinks

To: "Zdenek Prikryl" <zprikryl@xxxxxxxxxx>
Subject: Re: getfattr and symlinks
From: "Bhagi rathi" <jahnu77@xxxxxxxxx>
Date: Tue, 11 Sep 2007 23:03:41 +0530
Cc: linux-xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=0ayUC33L6vWMzgllSwd/Rs8SgizgxQxNDgx53CLOM60=; b=LyFSx503O9wdRfVGEMwUA5CW7MAmzNQ2jtdCfxG0UaeC5CZlNQ2lTPpHwt4CFHTYKVTYyyg1B5zjel+z8wvCxNVpNKwblUdd3qGKYGgWrLbqmMo+wZXUTUSQCndPgMBmKB1IeCvFJEqSMaFC97qLQRiVCET8XtQHnt6JvKNNSHk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=V+Pm8cyKf5kzhSrZ9VOiZw9GjoRjyAxsZOxMjf/CwDDOj1eAjGh7oHYaNqLTMXREyOFNhmnF81/cC1sQqHr0zSGRCBHRirSxo/P0h2HoOipf6J/Kg2FMppBdHvSL5RxEu0G7OqKx6/0q9edKLZEeeBEqYSzLzHtXdfwPxX0fGSk=
In-reply-to: <46E52F95.3070307@xxxxxxxxxx>
References: <46E52F95.3070307@xxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
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@xxxxxxxxxx> 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]]


<Prev in Thread] Current Thread [Next in Thread>