Coda File System

chown and symlinks

From: Stephan Koledin <SKoledin_at_fool.com>
Date: Fri, 14 Jul 2000 12:13:25 -0400
While doing some coda testing, I noticed the following coda behavior. 
I'm wondering if this is the intended operation, or something that needs
some work. 
Basically, I am unable to change ownership of symlinks that reside on a coda
filesystem. For example:

[skoledin_at_susie chowntest]$ touch test

[skoledin_at_susie chowntest]$ ln -s test test.lnk

[skoledin_at_susie chowntest]$ ls -l
total 0
-rw-rw-r--    1 skoledin 65534           0 Jul 14 15:57 test
lrwxr-xr-x    1 skoledin 65534           4 Jul 14 15:57 test.lnk -> test

[skoledin_at_susie chowntest]$ chown codatest test.lnk
chown: test.lnk: Invalid argument

[skoledin_at_susie chowntest]$ ls -l
total 0
-rw-rw-r--    1 skoledin 65534           0 Jul 14 15:57 test
lrwxr-xr-x    1 skoledin 65534           4 Jul 14 15:57 test.lnk -> test

[skoledin_at_susie chowntest]$ chown --dereference codatest test.lnk

[skoledin_at_susie chowntest]$ ls -l
total 0
-rw-rw-r--    1 codatest 65534           0 Jul 14 15:57 test
lrwxr-xr-x    1 skoledin 65534           4 Jul 14 15:57 test.lnk -> test


Stephan B. Koledin
The Motley Fool
Systems DORC
http://www.fool.com
Received on 2000-07-14 12:35:29