A question about extended attributes of filesystem objects (setfattr command)
From: Jacky Malcles (Jacky.Malcles_at_bull.net)
Date: 06/30/04
- Previous message: Con Kolivas: "[PATCH] Staircase scheduler v7.8"
- Next in thread: Michael Kerrisk: "Re: A question about extended attributes of filesystem objects (setfattr command)"
- Reply: Michael Kerrisk: "Re: A question about extended attributes of filesystem objects (setfattr command)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Jun 2004 14:52:37 +0200 To: linux-kernel@vger.kernel.org
I have a question regarding
Attributes of symlinks vs. the files pointed to
If I try to attach name:value pair to object symlink file
then I'll get: "Operation not permitted"
reading the man pages of setfattr (or attr) I thought that it operates
on the attributes of the symbolic link itself.
show:
-----
touch f
ln -s f l
setfattr -n user.filename -v ascii1 f l
setfattr -h -n user.filename -v ascii2 f
getfattr -d f l
setfattr -h -n user.filename -v ascii3 l
setfattr -h --no-dereference -n user.filename -v ascii4 l
getfattr -d f l
so, my question is : what is expected ?
I've
libattr-devel-2.2.0-1
libattr-2.2.0-1
attr-2.2.0-1
and a 2.6.7 kernel
many thanks,
regards,
-- Jacky Malcles B1-403 Email : Jacky.Malcles@bull.net Bull SA, 1 rue de Provence, B.P 208, 38432 Echirolles CEDEX, FRANCE Tel : 04.76.29.73.14 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Con Kolivas: "[PATCH] Staircase scheduler v7.8"
- Next in thread: Michael Kerrisk: "Re: A question about extended attributes of filesystem objects (setfattr command)"
- Reply: Michael Kerrisk: "Re: A question about extended attributes of filesystem objects (setfattr command)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]