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

Question Change FTP user permissions

Jose Ruiz

New Pleskian
Hello.

I have a Plesk 12.5 - Ubuntu 14.

FTP client upload files with 755 permissions

What can I do to modify it, and FTP client upload files with 775 permissions

Thank You
 
Hi Jose Ruiz,

do you mean, that you would like to deny the possibility for the customer - -ftp - user, to change the permissions for files and folders, when he/she uses a FTP - Client?

I found a very informative link for you, where you are able to inform yourself about user/group - permissions on linux systems: => Understanding Linux file permissions | FreeOS, free operating systems

Pls. note, that IF you desire to change group permissions ( for groups like "psacln" or "psaserv" for example ), it can result in issues/errors/problems and could destroy the functionality of your vhosts structure for all domains hosted on your server. ;)
 
Thank you for the answer

I want to change the permissions only for a one ftp client account over one folder. I don´t want to change group permissions or change another ftp permission
 
ProFTPD: Umask
But as far as I know it cannot be set for a single account only, it is a server wide setting.

This worked for me using ProFTPD custom config (needs root access):

#go to ProFTPD config directory

cd /etc/proftpd.d

#create custom additions file

touch proftpd_custom.conf

#add directive to suit

<Directory /var/www/vhosts/yourwebspace.com/yourdomain.com>
UserOwner valid_user
GroupOwner psacln
umask 002
</Directory>

#restart service

service xinetd restart

#make sure your ftp user is in psacln group
#now ftp user folders/files are 775 / 664
 
Back
Top