The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

CloudLinux Symlink Protection AND PHP selector

Discussion in 'CloudLinux' started by HostNodesLTD, Oct 7, 2016.

Tags:
  1. HostNodesLTD

    HostNodesLTD Registered

    Joined:
    Oct 7, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Georgia
    cPanel Access Level:
    Root Administrator
    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
     
  2. Bazinga

    Bazinga Active Member

    Joined:
    Aug 23, 2016
    Messages:
    26
    Likes Received:
    5
    Trophy Points:
    3
    Location:
    Ukraine
    cPanel Access Level:
    Website Owner
    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
     
    cPanelMichael and HostNodesLTD like this.
  3. HostNodesLTD

    HostNodesLTD Registered

    Joined:
    Oct 7, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Georgia
    cPanel Access Level:
    Root Administrator
    Oh, thanks

    You saved my time
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page