• 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

plesk ftp account - 550 permission denied

cds-is

New Pleskian
Hi,

Iam getting the error 550 permission denied from the ftp server.

We have created a new domain in plesk with a new ftp account. The ftp account for the new domain can log in to the ftp server and the domain directory is listed. But when we add a new directory or delete or write any file the server says 550 permission denied.

We also have a domain we created before and that ftp account works fine. and any ftp account we make for that domain works fine.

the problem is of all new domains the ftp accounts tell me 550 permission denied.

info:
Parallels Plesk Panel v11.0.9_build110120608.16 os_CentOS 6
CentOS 6.3 (Final)

its almost a basic delivered plesk server from our dedicated server provider.
we added 5 domains and 1 ftp account.
We folowed the basic manual on how to create a domain and on how to create a ftp account.
we asked our dedicated server provider and sugested the plesk forums.

so this is what i have tried :
- we have checked both users of the ftp accounts and both /etc/passwd and /etc/group are the same.
- we checked both domain directory rights. they are both the same.
- chmod 777 does not work. chown does not work.
- user has been added to the groups psacln and psaserv
- we configured the domain to fastcgi
- i have restarted proftpd
- adding uses with useradd in there home dir /home work. changeing there home dir to the domain ( inside the chroot) will lock them out. ( no login )
i tried a lot more unrelated things but i think these are the main ones that should fix the problem.


i have a few questions on
why one Domain can have rights and the other can not.
how does proftpd basic plesk config file make a difrence in 2 users based on there home dir?
and why is the include of proftpd empty?


please let me know if anyone has any ideas how to fix this problem.
 
Last edited:
This list you've tried, in most cases should solve problem, because it's obvious it's permission issues (you can read, but not write). In file:
# /etc/proftpd.conf

GroupOwner for vhost directory is also set to psacln?
 
<Directory /var/www/vhosts>
GroupOwner psacln
</Directory>

check.

will send u /etc/proftpd.conf in a second.


#
# To have more informations about Proftpd configuration
# look at : http://www.proftpd.org/
#

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName "ProFTPD"
#ServerType standalone
ServerType inetd
DefaultServer on
<Global>
DefaultRoot ~ psacln
AllowOverwrite on
</Global>
DefaultTransferMode binary
UseFtpUsers on

TimesGMT off
SetEnv TZ :/etc/localtime
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30

#Following part of this config file were generate by PSA automatically
#Any changes in this part will be overwritten by next manipulation
#with Anonymous FTP feature in PSA control panel.

#Include directive should point to place where FTP Virtual Hosts configurations
#preserved

ScoreboardFile /var/run/proftpd/scoreboard

# Primary log file mest be outside of system logrotate province

TransferLog /usr/local/psa/var/log/xferlog

#Change default group for new files and directories in vhosts dir to psacln

<Directory /var/www/vhosts>
GroupOwner psacln
</Directory>

# Enable PAM authentication
AuthPAM on
AuthPAMConfig proftpd

IdentLookups off
UseReverseDNS off

AuthGroupFile /etc/group

Include /etc/proftpd.include
 
Last edited:
#
# To have more informations about Proftpd configuration
# look at : http://www.proftpd.org/
#

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName "ProFTPD"
#ServerType standalone
ServerType inetd
DefaultServer on
<Global>
DefaultRoot ~ psacln
AllowOverwrite on
</Global>
DefaultTransferMode binary
UseFtpUsers on

TimesGMT off
SetEnv TZ :/etc/localtime
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30

#Following part of this config file were generate by PSA automatically
#Any changes in this part will be overwritten by next manipulation
#with Anonymous FTP feature in PSA control panel.

#Include directive should point to place where FTP Virtual Hosts configurations
#preserved

ScoreboardFile /var/run/proftpd/scoreboard

# Primary log file mest be outside of system logrotate province

TransferLog /usr/local/psa/var/log/xferlog

#Change default group for new files and directories in vhosts dir to psacln

<Directory /var/www/vhosts>
GroupOwner psacln
</Directory>

# Enable PAM authentication
AuthPAM on
AuthPAMConfig proftpd

IdentLookups off
UseReverseDNS off

AuthGroupFile /etc/group

Include /etc/proftpd.include
 
SOLVED

i filled in a support ticket at plesk support and at the end of filling everything in you get the option to download Spider,
This script scans the system and log files and returns kb items.

one of them was: http://kb.parallels.com/en/11142

applied and tested and problem was directly solved.

SOLVED
 
Back
Top