• 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.

chown -R done in /opt , please help asap

Frater

Regular Pleskian
I have done a
Code:
chown -R assp.assp .
from the folder /opt instead of /opt/ASSP
I pressed ctrl-C quite fast, but it still did its damage.
I chowned all the changed permissions to root.root and then manually changed some to psaadm and root.psaadm using a secondary plesk 11.5 server as a reference....

Somehow I didn't do a thorough job as I have some permission problems when, for instance I want to change the Mail-server parameters....

How can I reset this with one command.

I noticed this post http://kb.parallels.com/en/113989 but it didn't work because rpm is unavailable
I can of course install it, but it feels uneasy as it also means this solution could be deprecated....

On top of all that I also changed some subfolder permissions to root.root on the server I was using as a reference.

I hope to get a quick reply!!!
 
I tried this one, but it didn't repair my Plesk
Code:
/usr/local/psa/bootstrapper/pp11.5.30-bootstrapper/bootstrapper.sh repair

I was just setting up this server, so no disaster. I'm considering a re-install, although that's some work too
The other server is a production server.

I hope someone gives me the "magic command" so I can first test it on the new server...
 
Code:
chmod 4110 /usr/local/psa/admin/sbin/wrapper
changing the owner of /usr/local/psa/admin/sbin/wrapper from root.psaadm to psaadm.psaadm also rendered Plesk-IF of the production-server useless

changing it back to root.psaadm didn't change it....
Then I saw somewhere that I should do a chmod 4110 (setting the sticky bit)

Both servers now have Plesk login, but I don't feel at ease....
I didn't know chown also changed the other permissions...

AFAIK I only changed things in /opt/psa, but that could be the fault of the symbolic link.....

The last thing I did was this. I'm feeling more at ease now, but still.....:
Code:
chown root.psaadm /usr/local/psa/admin/sbin/mod_wrapper
chown root.psaadm /usr/local/psa/admin/sbin/wrapper
chown root.psaadm /usr/local/psa/admin/sbin/spammng

chmod 4110 /usr/local/psa/admin/sbin/mod_wrapper
chmod 4110 /usr/local/psa/admin/sbin/wrapper

ls -la /usr/local/psa/admin/sbin/mod_wrapper
---s--x--- 1 root psaadm 18896 Aug 19 08:19 /usr/local/psa/admin/sbin/mod_wrapper
ls -la /usr/local/psa/admin/sbin/wrapper
---s--x--- 1 root psaadm 18920 Aug 19 08:19 /usr/local/psa/admin/sbin/wrapper
 
Last edited:
Do a search, there are several such discussions here with regards to that subject ..
 
Back
Top