ops/etc/sysctl.d/protect-links.conf

9 lines
323 B
Plaintext
Raw Normal View History

2019-10-14 22:08:03 +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