1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

plesk ftp account - 550 permission denied

Discussion in 'Plesk 11.x for Linux' started by cds-is, Jan 30, 2013.

  1. cds-is

    cds-is New Pleskian

    10
     
    Joined:
    Jan 30, 2013
    Messages:
    4
    Likes Received:
    0
    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: Jan 30, 2013
  2. MislavO

    MislavO Regular Pleskian

    16
    85%
    Joined:
    Jul 20, 2012
    Messages:
    271
    Likes Received:
    1
    Location:
    Croatia
    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?
     
  3. cds-is

    cds-is New Pleskian

    10
     
    Joined:
    Jan 30, 2013
    Messages:
    4
    Likes Received:
    0
    <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: Jan 30, 2013
  4. cds-is

    cds-is New Pleskian

    10
     
    Joined:
    Jan 30, 2013
    Messages:
    4
    Likes Received:
    0
    #
    # 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
     
  5. cds-is

    cds-is New Pleskian

    10
     
    Joined:
    Jan 30, 2013
    Messages:
    4
    Likes Received:
    0
    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
     
  6. MislavO

    MislavO Regular Pleskian

    16
    85%
    Joined:
    Jul 20, 2012
    Messages:
    271
    Likes Received:
    1
    Location:
    Croatia
    I'm glad you fixed your problem (and tnx for the solution).
     
Loading...