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

System owner lost ownership

RouteXL

New Pleskian
I ran into a problem for which I found no fix on this forum or the KB, but did find a fix myself. I thought I'd share it here for someone else if they run into the same problem.

The problem:
I had added some web users for one of my domains one day. After a while I also changed the system user username for that same domain. Then the weirdest thing happened: all folders in the vhost were suddenly owned by one of the web users. Nothing helped to regain ownership, deleted web users, renamed system user, chown's, etcetera. The web user owned the place.

The fix:
I've edited /etc/passwd and put line with the system user above all web users of that domain. After that the system user had the ownership back, no restart required.

The question:
Was this the right thing to do? Should the order of /etc/passwd make any difference?
 
It only makes presentation difference. The way things work doesn't depend on it. What you did is OK if you worry how the things look.
 
Back
Top