View Incident:
http://co-op.engr.sgi.com/BugWorks/code/bwxquery.cgi?search=Search&wlong=1&view_type=Bug&wi=804475
Submitter : nathans Submitter Domain : engr
Assigned Engineer : nb Assigned Domain : sgi.com
Assigned Group : xfs-linux Category : software
Customer Reported : F Priority : 3
Project : xfs-linux Status : open
Description :
>From a quick test, chown+XFS on IRIX seems to behave the
way Marco describes (below), but on Linux, XFS doesn't seem
to allow this ... is this expected or is something amiss?
irix/xfs:
$ touch foo
$ ln -s foo bar
$ ls -ld foo bar
lrwxr-xr-x 1 nathans ptg 3 Oct 11 11:48 bar -> foo
-rw-r--r-- 1 nathans ptg 0 Oct 11 11:48 foo
$ sudo chown -h pcpqa bar
$ ls -ld foo bar
lrwxr-xr-x 1 pcpqa ptg 3 Oct 11 11:48 bar -> foo
-rw-r--r-- 1 nathans ptg 0 Oct 11 11:48 foo
linux/ext2:
$ touch foo
$ ln -s foo bar
$ ls -ld foo bar
lrwxrwxrwx 1 nathans ptg 3 Oct 11 11:49 bar -> foo
-rw-r--r-- 1 nathans ptg 0 Oct 11 11:49 foo
$ sudo chown -h pcpqa bar
$ ls -ld foo bar
lrwxrwxrwx 1 pcpqa ptg 3 Oct 11 11:49 bar -> foo
-rw-r--r-- 1 nathans ptg 0 Oct 11 11:49 foo
linux/xfs:
$ touch foo
$ ln -s foo bar
$ ls -ld foo bar
lrwxr-xr-x 1 nathans ptg 3 Oct 11 11:51 bar -> foo
-rw-r--r-- 1 nathans ptg 0 Oct 11 11:51 foo
$ sudo chown -h pcpqa bar
$ ls -ld foo bar
lrwxr-xr-x 1 nathans ptg 3 Oct 11 11:51 bar -> foo
-rw-r--r-- 1 nathans ptg 0 Oct 11 11:51 foo
--- Forwarded mail from Marco van Wieringen <mvw@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 10 Oct 2000 20:07:26 +0200 (MEST)
From: Marco van Wieringen <mvw@xxxxxxxxxxxxxxxxxxxx>
Reply-To: Marco van Wieringen <mvw@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: Linux quota tools
To: Nathan Scott <nathans>
...
B.T.W. I just installed XFS on one of my development systems and it looks
good and more or less stable. But I have a question is it so that
one cannot change the owner on a symlink like it works on ext2
when you do a chown -h username.group <symlink-name>.
Marco.
---End of forwarded mail from Marco van Wieringen <mvw@xxxxxxxxxxxxxxxxxxxx>
|