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

What usernames to use with chown?

KoolioK

New Pleskian
Usually I use the root user to download zips and unzip them, afterwards I need to assign the files to a vhost user. But what are their usernames???

Sorry, I am totally new to Plesk. I only know confixx, and there everything was pretty straight forward. I simply used "chown webXY. %Folder% -r" to assign all files in %Folder% to user webXY.

What are the usernames that plesk creates? The domains don't work.

Thanks in advance!
 
Navigate to where your hosts are being stored and cd to the domain then httpdocs/.

Then type ls -la

You should see something like this.

-rwxr-xr-x 1 ftprun psacln 2988 Feb 25 17:35 style.css
-rwxr-xr-x 1 ftprun psaserv 2758 Feb 25 16:15 supplement.php
drwxr-xr-x 10 ftprun psaserv 4096 Feb 25 16:14 test
-rwxr-xr-x 1 ftprun psacln 2079 Feb 25 17:35 tips.php
-rwxr-xr-x 1 ftprun psacln 13617 Feb 25 17:36 training.php
-rw-r--r-- 1 ftprun psacln 5023 Feb 25 17:36 water.jpg


You can take the user account "ftprun" and chown

chown -R ftprun:psacln *


That will chown recursively through the directory and sub-folders.

*edit*

And if you need to reset their domains permissions for whatever reason you can use the following:

/usr/local/psa/admin/sbin/vhostmng --install-vhost --vhost-name=<domain name> --user-name=<ftp user name> --set-content-permissions
 
Last edited:
Back
Top