public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* Re: "xfs_io -c chattr +i " on a symlink
@ 2006-08-04  8:15 Dan Am
  2006-08-04  9:13 ` Timothy Shimmin
  0 siblings, 1 reply; 11+ messages in thread
From: Dan Am @ 2006-08-04  8:15 UTC (permalink / raw)
  To: xfs

On Fri, August 4, 2006 6:20 am, Chris Wedgwood wrote:
> I always disliked open/ioctl for this.  I think we should actually have
a separate syscall for chattr, etc. (FreeBSD does this I think?)
So how does "attr -s someAttribute symlink" work ? This does the job very
well, distinguishing it from other filesystems.

Best
Dan

^ permalink raw reply	[flat|nested] 11+ messages in thread
* "xfs_io -c chattr +i " on a symlink
@ 2006-08-03 10:26 Dan Am
  2006-08-03 14:13 ` Eric Sandeen
  2006-08-04  0:28 ` Nathan Scott
  0 siblings, 2 replies; 11+ messages in thread
From: Dan Am @ 2006-08-03 10:26 UTC (permalink / raw)
  To: xfs

(resend, since I used the wrong account to send the initial mail, sorry)

Dear list,

I am trying to make a symlink immutable with chattr, however the command
seems to follow the link, which point to a NFS Mount.
Setting xattr works on symlink btw, which is useful.
More data below
Any ideas ?

Best Regards
Dan

Heres the situation from my machine's view:
/data > ls -l bin
lrwxrwxrwx  1 root root 48 Aug  2 15:53 bin -> /archive/l01abnfs07/bin

/data> xfs_io  -c "chattr +i" bin
xfs_io: specified file ["bin"] is not on an XFS filesystem

~ > xfs_io -V
xfs_io version 2.8.4

~ > cat /etc/SuSE-release
SUSE LINUX Enterprise Server 9 (i586)
VERSION = 9
PATCHLEVEL = 3

^ permalink raw reply	[flat|nested] 11+ messages in thread
* "xfs_io -c chattr +i " on a symlink
@ 2006-08-03 10:18 Daniel Amthor
  0 siblings, 0 replies; 11+ messages in thread
From: Daniel Amthor @ 2006-08-03 10:18 UTC (permalink / raw)
  To: xfs

Dear list,

I am trying to make a symlink immutable with chattr, however the command
seems to follow the link, which point to a NFS Mount.
Setting xattr works on symlink btw, which is useful.
More data below
Any ideas ?

Best Regards
Dan

Heres the situation from my machine's view:
/data > ls -l bin
lrwxrwxrwx  1 root root 48 Aug  2 15:53 bin -> /archive/l01abnfs07/bin

/data> xfs_io  -c "chattr +i" bin
xfs_io: specified file ["bin"] is not on an XFS filesystem

~ > xfs_io -V
xfs_io version 2.8.4

~ > cat /etc/SuSE-release
SUSE LINUX Enterprise Server 9 (i586)
VERSION = 9
PATCHLEVEL = 3

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

end of thread, other threads:[~2006-08-07  4:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-04  8:15 "xfs_io -c chattr +i " on a symlink Dan Am
2006-08-04  9:13 ` Timothy Shimmin
  -- strict thread matches above, loose matches on Subject: below --
2006-08-03 10:26 Dan Am
2006-08-03 14:13 ` Eric Sandeen
2006-08-04  0:29   ` Nathan Scott
2006-08-04  2:38     ` Eric Sandeen
2006-08-04 11:37     ` Dan Am
2006-08-07  4:54       ` Nathan Scott
2006-08-04  0:28 ` Nathan Scott
2006-08-04  4:20   ` Chris Wedgwood
2006-08-03 10:18 Daniel Amthor

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