Skip to main content

Symbolic link not allowed or link target not accessible

Comments

3 comments

  • cPanelLauren
    Have you tried creating the symbolic link with the full path? /home/mint2346/public_html/test
    0
  • ColinRood
    Hi thanks for the reply. That was the issue - I now have a test symlink working on the same account using: ln -s /home/mint2346/public_html/test /home/mint2346/public_html/test1
    However, I have been struggling with making a symlink work between 2 cPanel accounts. ln -s /home/mint2339/public_html/newtest /home/mint2346/public_html/newtest1
    I have removed SymLinksIfOwnerMatch from the config file (temporary) and there is nothing in the htaccess file. I have tried creating a new group and adding mint2339 and mint2346 to it. Various options of ownership have been tried and various permissions tried but no success. There are many different suggestions out there, but I can't find a working answer. Is there a list of requirements that I can work to in any documentation? I would prefer to keep SymLinksIfOwnerMatch if possible. Colin
    0
  • cPanelLauren
    I didn't realize you were symlinking between separate accounts, the problem being that all scripts on a user account must be run by that user - when you symlink to another user you're running as the symlinked user but the resource/destination is owned by the other user causing an ownership/permissions issue.
    0

Please sign in to leave a comment.