- Plesk for Linux
Why is an additional FTP user displayed as the owner of all content in Domains > example.com > File Manager instead of the subscription's system user?
Why is the PHP running under an additional FTP user instead of the subscription's system user?
Such behaivior related to the fact that recently, a system user of a subscription was renamed in Domains > example.com > Web Hosting Access. It is expected behavior.
System user of a subscription and additional FTP user are created with the same UID. It can be seen with the following command while connected to the server via SSH:
# grep 'FTPuser\|SYSuser' /etc/passwd
A username is requested by its UID. In case there are several usernames with the same UID, displayed username is the one which is placed higher in the file
/etc/passwd. It can be checked with the command below:
# getent passwd 10013
To display system user of the subscription as the owner of the subscription's files, rename the additional FTP user in Domains > example.com > FTP Access.
This will rewrite the file
/etc/passwd and put the additional FTP user at the bottom of the file. After that, the name of the FTP user can be changed back.