linuxOS_AP05/debian/test/etc/sysctl.d/protect-links.conf
2025-09-26 09:40:02 +08:00

9 lines
324 B
Plaintext

###################################################################
# Protected links
#
# Protects against creating or following links under certain conditions
# Debian kernels have both set to 1 (restricted)
# See https://www.kernel.org/doc/Documentation/sysctl/fs.txt
fs.protected_hardlinks = 1
fs.protected_symlinks = 1