To set the runtime status of the fs.protected_symlinks
kernel parameter, run the following command: $ sudo sysctl -w fs.protected_symlinks=1
To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d
: fs.protected_symlinks = 1