• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

How do I reset permissions for httpdocs?

J

Joshua Sortino

Guest
The permissions on the httpdocs folder got changed (the group also) for one of my subdomains. I can no longer access the logs or anything.

What command can I use to reset them?

Another alternative to fix the problem was recommended by someone I talked to from Parallels support, they told me there's a button labeled "Check permissions" in the Plesk control panel, however, I do not see this button.
 
Hello,

Please try:

#/usr/local/psa/admin/sbin/vhostmng --install-vhost --vhost-name=<domain_name> --user-name=<user_name> --set-content-permissions
 
See attached for a screenshot of where Check Permissions button is.
 

Attachments

  • perm.JPG
    perm.JPG
    50.5 KB · Views: 136
I fixed the issue by psyically accessing the machine and right clicking the httpdocs folder and changing the group to psaserv and user to the domain user.

However, this will be a HUGE help if I need to reset the permissions again in the future. Thank you very much!

That being said, I still do not see the "Check Permissions" button ... I'll post a follow up below.
 
I have put in symbolic links through SSH for a multi-store Magento shopping cart setup. It seems the permissions have changed after that. If I reset permissions will that mess up the symbolic links that I set up? Any thoughts?
 
Back
Top