xfs
[Top] [All Lists]

different modes for symlinks?

To: Linux XFS Mailing List <linux-xfs@xxxxxxxxxxx>
Subject: different modes for symlinks?
From: "Bernhard R. Erdmann" <be@xxxxxxxxxxx>
Date: Sat, 21 Jul 2001 13:16:14 +0200
Sender: owner-linux-xfs@xxxxxxxxxxx
Hi,

I'm wondering about different modes of symlinks on XFS filesystems:

# ll /usr/tmp /usr/src/linux
lrwxr-xr-x   1 root     root           19 Jul 10 00:36 /usr/src/linux ->
linux-2.4-xfs/linux
lrwx------   1 root     root           10 Jul 10 00:27 /usr/tmp ->
../var/tmp
# ll -d /var/tmp /usr/src/linux-2.4-xfs/linux 
drwxr-xr-x  16 root     root         4096 Jul 21 09:09
/usr/src/linux-2.4-xfs/linux
drwxrwxrwt   2 root     root         4096 Jul 21 10:06 /var/tmp

I'm used to mode 777 for a symlink. Why here 755 and 700 and only the
mode of /usr/src/linux matching the mode of the dir it points to?


<Prev in Thread] Current Thread [Next in Thread>