• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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: 137
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