getfattr and symlinks
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
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.
Quoted 12 lines · Zdenek Prikryl
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 -> /
...
Quoted 10 lines
getfattr -Rd $HOME
So what is the right result? Follow "$HOME/symlink" or not?
Thank you
Zdenek Prikryl
[[HTML alternate version deleted]]