• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved New Read-only user ftp

Hi mikels,

please create such a user over your command line:

useradd -u 10XXX -o -d /var/www/vhosts/YOUR_DOMAIN.COM/httpdocs/folder_with_read_only_data -g psacln -s /bin/false ftpread

10XXX = has to be a five-digit number, which doesn't exist yet in your passwd - file at "/etc/passwd"
YOUR_DOMAIN.COM = has to be replaced with your very own domain - name
folder_with_read_only_data = has to be the folder, from where the new FTP - user might read the files and folders.
ftpread = has to be the desired username for your newly created FTP - user.

You will be asked for the password for the new user, after you performed the creation command.


Afterwards, please make sure, that the folder "folder_with_read_only_data" and the recursive data is owned by "sitedomainadmin" ( admin created within the domain creation procedure )

chown -R feedowner /var/www/vhosts/YOUR_DOMAIN.COM/httpdocs/folder_with_read_only_data

Test the new FTP - user with your preferred FTP - client and try as well to create a file, or to change a file-name.
 
I use another method:

It works with plesk 11.x

1) Create additional FTP accout with some "homedir".
2) Add .ftpaccess file with content:
Code:
<Directory /var/www/vhosts/DOMAIN/httpdocs/SOME_DIR>
    <Limit CWD PWD DIRS READ>
        AllowUser READ_ONLY_USER
    </Limit>
    <Limit ALL>
        DenyUser READ_ONLY_USER
    </Limit>
</Directory>
 
Back
Top