• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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