• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Create a ftp user for a especific folder (only)

hardbrasil

Regular Pleskian
Hello fellas,

i have an backup folder outside of vhosts structure, and only accessible by root user.
i am configuring a backup software to download those files created by Plesk bkp manager.
To no use root for this task i would like to create a new user that is able to access a specific directory, (non public).

anyone know how to do this?



mkdir /mybackupdir
useradd <-username>
passwd <-username>
chown –R <-username> /mybackupdir*
groupadd <-groupname>
gpasswd -a <-username> <-groupname>
chgrp -R <-groupname> /mybackupdir*
chmod -R g+rw /mybackupdir

this is right?
 
Back
Top