diff options
author | наб <nabijaczleweli@nabijaczleweli.xyz> | 2023-03-27 14:29:33 +0200 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2023-03-31 23:41:37 +0200 |
commit | 92964433bd8547aefbae1fd002d4a6534eecf9d7 (patch) | |
tree | f1f0dac44534a2710e3d09fa9a851d3aa2e30c47 | |
parent | acd7fbf633c9630cf1ea5de62ee688eeec04e31c (diff) |
symlink.7: cross-link to proc.5 for fs.protected_symlinks
This is on by default in Debian, maybe the next reader won't spend an
hour tracing the kernel
Fixes: e8ff4f53ab9a7cbd ("Remove information migrated to inode(7) page")
Closes: https://bugs.debian.org/1033477
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Cc: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r-- | man7/symlink.7 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/man7/symlink.7 b/man7/symlink.7 index 77fefb743..4403f6214 100644 --- a/man7/symlink.7 +++ b/man7/symlink.7 @@ -84,10 +84,14 @@ magic links have been used as attack vectors in various exploits. The owner and group of an existing symbolic link can be changed using .BR lchown (2). -The only time that the ownership of a symbolic link matters is +The ownership of a symbolic link matters when the link is being removed or renamed in a directory that has the sticky bit set (see -.BR stat (2)). +.BR inode (7)), +and when the +.I fs.protected_symlinks +sysctl is set (see +.BR proc (5)). .PP The last access and last modification timestamps of a symbolic link can be changed using |