Shell
user@debian:~$ ls -l /tmp | grep ^l
lrwxrwxrwx 1 foo foo 9 Дек 29 13:14 foo_ln -> /tmp/file
lrwxrwxrwx 1 root root 9 Дек 29 13:15 root_ln -> /tmp/file
user@debian:~$
Shell
user@debian:~$ ls -l /tmp/file
-rw-r--r-- 1 user user 9 Дек 29 13:13 /tmp/file
user@debian:~$
Shell
user@debian:~$ cat /tmp/foo_ln
cat: /tmp/foo_ln: Отказано в доступе
user@debian:~$
Shell
man 7 symlink
...
Symbolic link ownership, permissions, and timestamps
The owner and group of an existing symbolic link can be changed using
lchown(2). The only time that the ownership of a symbolic link matters
is when the link is being removed or renamed in a directory that has
the sticky bit set (see stat(2)).
The last access and last modification timestamps of a symbolic link can
be changed using utimensat(2) or lutimes(3).
On Linux, the permissions of a symbolic link are not used in any opera‐
tions; the permissions are always 0777 (read, write, and execute for
all user categories), and can't be changed.
...
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Путаницу вносит обращение к /tmp/file, через ссылку /tmp/root_ln
Shell
user@debian:~$ cat /tmp/root_ln
cafebebe
user@debian:~$