• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

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