linuxOS_AP05/debian/test/etc/sysctl.d/protect-links.conf

9 lines
324 B
Plaintext
Raw Normal View History

2025-09-26 01:40:02 +00:00
###################################################################
# 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