Problem with Debian stable, ISPConfig 3.1 and FTP

Discussion in 'General' started by Stanislav Panayotov, Oct 5, 2016.

  1. Stanislav Panayotov

    Stanislav Panayotov New Member

    New installation of Debian 8.6 stable and ISPConfig 3.1 final from this tutorial: https://www.howtoforge.com/tutorial...8-4-jessie-apache-bind-dovecot-ispconfig-3-1/
    All is ok, but after admin is login and create client, and this client login and create site and ftp user for that site and this ftp user login via ftp into correct folder /web. The problem is for FTP user - they cannot put files via ftp or delete index.html:
    DELE /web/index.html
    550 Access is denied.
    and if FTP program are FileZilla - user cannot login. Sorry for my bad english!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. Stanislav Panayotov

    Stanislav Panayotov New Member

    FTP user login via FTP (passive mode) successfully, but without permission to write in folder.
     
  4. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    What user actually owns the file and web directories? In a shell run
    Code:
    ls -l /var/www/domain.com/{,web/}
    (change domain.com to the actual domain name).
     
  5. Stanislav Panayotov

    Stanislav Panayotov New Member

    Code:
    root@webhosting:/home/stanislav# ls -l /var/www/somesite/{,web/}
    /var/www/somesite/:
    total 96
    drwxr-xr-x 2 web2 client2  4096 Oct  5 11:01 cgi-bin
    drwxr-xr-x 2 root root     4096 Oct  6 06:35 log
    drwx--x--- 2 web2 client2  4096 Oct  5 11:01 private
    drwxr-xr-x 2 root root     4096 Oct  5 11:01 ssl
    drwxrwx--- 2 web2 client2 73728 Oct  5 15:39 tmp
    drwx--x--x 3 web2 client2  4096 Oct  5 11:02 web
    drwx--x--- 2 web2 client2  4096 Oct  5 11:01 webdav
    
    /var/www/somesite/web/:
    total 20
    -rwxr-xr-- 1 web2 client2 7358 Oct  5 11:01 favicon.ico
    -rwxrwxrwx 1 web2 client2 1870 Oct  5 11:02 index.html
    -rwxr-xr-- 1 web2 client2   14 Oct  5 11:01 robots.txt
    drwxr-xr-x 2 web2 client2 4096 Oct  6 00:02 stats
    root@webhosting:/home/stanislav# 
    somesite is not real domain name - I change it here in this post
     
  6. Stanislav Panayotov

    Stanislav Panayotov New Member

    I'm sorry guys! I found a problem in my router. :mad::mad::mad:
     

Share This Page