CloudLinux Symlink Protection AND PHP selector
Hello everyone,
I have issue when enabling
fs.protected_symlinks_create = 1
fs.protected_hardlinks_create = 1
PHP selector gives Error 13 (can't create symlinks).
Problem is that i don't know which GID owns selector process.
I need GID for adding it here
fs.protected_symlinks_allow_gid = id_of_group_linksafe
fs.protected_hardlinks_allow_gid = id_of_group_linksafe
There is no such information in CloudLinux documentation.
Thanks
-
Hello everyone, I have issue when enabling fs.protected_symlinks_create = 1 fs.protected_hardlinks_create = 1 PHP selector gives Error 13 (can't create symlinks). Problem is that i don't know which GID owns selector process. I need GID for adding it here fs.protected_symlinks_allow_gid = id_of_group_linksafe fs.protected_hardlinks_allow_gid = id_of_group_linksafe There is no such information in CloudLinux documentation. Thanks
please check linksafe group ID in system and in sysctl settings, they should match. e.g.: grep linksafe /etc/groups sysctl -a | grep protected_symlinks_allow_gid0 -
please check linksafe group ID in system and in sysctl settings, they should match. e.g.: grep linksafe /etc/groups sysctl -a | grep protected_symlinks_allow_gid
Oh, thanks You saved my time0 -
Hello, I'm happy to see the issue is now resolved. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
3 comments