mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Odd symlink behaviour?
@ 2004-05-26  0:17 Wakko Warner
  0 siblings, 0 replies; only message in thread
From: Wakko Warner @ 2004-05-26  0:17 UTC (permalink / raw)
  To: linux-kernel

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.

-- 
 Lab tests show that use of micro$oft causes cancer in lab animals

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-26  0:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-26  0:17 Odd symlink behaviour? Wakko Warner

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

all inboxes | Powered by JetHome®