Skip to main content

Account Home directories permissions keep resetting

Comments

7 comments

  • Infopro
    Do you have an example of the directories you can mention here? Are you speaking of directories of a CMS for example, where a user uploads an addon of some sort and then has this issue?
    0
  • Jared Long
    [quote="Infopro, post: 1734182">Do you have an example of the directories you can mention here? Are you speaking of directories of a CMS for example, where a user uploads an addon of some sort and then has this issue?
    It appears to change the permissions for all the public_html directories to "750". The client has been installing Wordpress from the Cpanel console for a number of the users but not all. Honestly, there seems to be no pattern to when this occurs. is there any information from the server I could look into to at least rule out some of the possibilities?
    0
  • Infopro
    Is the server using SuPHP?
    0
  • Jared Long
    [quote="Infopro, post: 1735532">Is the server using SuPHP?
    Apache suEXEC is set to on if that is what you are referring to. Otherwise, we are using dso as the PHP handler.
    0
  • cPanelMichael
    Hello :) You will likely want to use suPHP as your PHP handler to ensure files uploaded through the script are owned by the account username. Permission/ownership changes are typically not required when using suPHP: suPHP Considerations Thank you.
    0
  • Jared Long
    Thank you, I much appreciate the insight into potential fix for the problem. I would still, if at all possible, like to understand the machinations that are causing the issue with permissions in the first place. As it stands, this is the chain of events: users are unable to upload to their public_html directory. Chmod 777 to allow the user to work. some time passes all public_html files are set to 750 We have decided to set the Cpanel updates to manual only to try and rule it out as the potential cause of the permissions resetting. we are still waiting to see the results.
    0
  • cPanelMichael
    A cPanel update will not change the permissions of all files within the public_html directory. Are you sure it's all files and not the public_html directory itself? Keep in mind that using 0777 permissions is often a security risk to your account. Thank you.
    0

Please sign in to leave a comment.