Odd symlink behaviour?
Vanilla kernel 2.6.6. / is ext3, /dev is on /
I noticed when I created a symlink, the perms were not 777 like I would have expected. See below.
[root@vegeta:/dev] v cdrom
ls: cdrom: No such file or directory
[root@vegeta:/dev] ln -s scd0 cdrom
[root@vegeta:/dev] v cdrom
lrwxr-xr-x 1 root root 4 May 25 20:13 cdrom -> scd0
[root@vegeta:/dev] umask 0
[root@vegeta:/dev] ln -sf scd0 cdrom
[root@vegeta:/dev] v cdrom
lrwxrwxrwx 1 root root 4 May 25 20:13 cdrom -> scd0
[root@vegeta:/dev] umask 022
[root@vegeta:/dev] uname -r
2.6.6
[root@vegeta:/dev] ln --version
ln (coreutils) 5.0.91
I have another filesystem which is reiserfs; It doesn't exibit this problem.
Signature · 1 line
Lab tests show that use of micro$oft causes cancer in lab animals