• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Restore default ownerships in /vhost/ ??

X

Xannor

Guest
One of my virtual host directories, let us say /home/httpd/vhosts/domain.tld has got its ownership screwed up somehow. What are the default ownerships for all the files and directories in that folder?

I have used chown and done:

chown -R domainuser:psacln /home/httpd/vhosts/domain.tld
chown domainuser:psaserv /home/httpd/vhosts/domain.tld/httpdocs

It seems to be working for now, but are that all there is? I do not want to run into trouble later on...

Thanks in advance,
Tom
 
Originally posted by Xannor
What are the default ownerships for all the files and directories in that folder?

I think I have solved the problem anyway. The solution was to create a bogus new domain and then look at what ownerships Plesk used there.... :D
 
Back
Top