How to restore default permissions in the virtual host directory on Linux?




  • Avatar
    F L E X 2 0 0 0 2 1 0 3

     Why do some files lose their rights at all? What is or can be a reason?

  • Avatar
    Ivan Postnikov

    @F L E X 2 0 0 0 2 1 0 3

    Usually, this does not occur. In case you use CentOS, consider using audit.

    Also, make sure you do not have any malware on the server.

  • Avatar


    In case of "user_example" what would you recommend? not root right?

    Also, how to avoid this happening in new installations? We by default use a custom WordPress media uploads folder, as ~/wp-uploads/ kind of sucks (sorry Matt), and this issue always pops out on custom WP folders in brand new installations.


  • Avatar
    Julian Bonpland Mignaquy


    You can find "user_example" (system user) in Domains > > System user:
    As my colleague mentioned this does not happen normally. I recommend using audit to monitor permissions changes. Also, if you create custom folders make sure they have 755 permissions.

Please sign in to leave a comment.

Have more questions? Submit a request