public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jacky Malcles <Jacky.Malcles@bull.net>
To: linux-kernel@vger.kernel.org
Subject: A question about extended attributes of filesystem objects (setfattr  command)
Date: Wed, 30 Jun 2004 14:52:37 +0200	[thread overview]
Message-ID: <40E2B795.35EA5824@bull.net> (raw)

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

             reply	other threads:[~2004-06-30 12:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-30 12:52 Jacky Malcles [this message]
2004-06-30 13:31 ` A question about extended attributes of filesystem objects (setfattr command) Michael Kerrisk
2004-06-30 14:04   ` Jacky Malcles
2004-06-30 14:21     ` Michael Kerrisk
2004-06-30 14:22   ` Jacky Malcles

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40E2B795.35EA5824@bull.net \
    --to=jacky.malcles@bull.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox