• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

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