Skip to main content

User has no permission to do "chgrp nobody /home/user/public_html"

Comments

3 comments

  • cPanelMichael
    Hello :) Individual users will not have the privileges to change the ownership of a file or directory to "nobody". Are you able to modify the initial cron job so that it does not utilize invalid ownership and permission values? Thank you.
    0
  • Jare
    Hi, I don't think there is a way to make Composer not to change the ownership of public_html, although I have no clue why it does so in the first place. Can you advice me, why is it possible for a user to change the ownership of public_html at all? Can I deny that somewhere? It would make sense if the system protected this directory from being made unavailable for apache by mistake. :)
    0
  • cPanelMichael
    It might be an issue that the developers for that application will need to address. It likely happens if the application is installed as "root" and thus has access to change the ownership and permission values. Which PHP handler is in-use on this system? Thank you.
    0

Please sign in to leave a comment.