>
> 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?
>
ll is probably an alias for "ls -l" which lists the status of the link
itself and not the file or directory referenced by the symbolic link.
"ls -lL <symbolic link>" should list the status of the file or directory
referenced by the link.
Tad
|