ftp problem

Discussion in 'Installation/Configuration' started by deploymentgeek, Dec 28, 2005.

  1. deploymentgeek

    deploymentgeek New Member

    Hi

    I am running with ISPconfig.

    I can log in to the ftp server perfectly, but when I enter the user folder and try to upload or delete a file, I get access denied.

    I hope you can help me :)
     
  2. ZyanKLee

    ZyanKLee New Member

    which distro and wich ftp-server do you use?
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Can you upload to the web folder? Which owner and permissions does the user folder has?
     
  4. deploymentgeek

    deploymentgeek New Member

    I use debian sarge with proftpd

    How do I see the permissions ?
     
  5. deploymentgeek

    deploymentgeek New Member

    I can delete and upload via webftp
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    WebFTP uses the normal FTP protocoll. If you can upload and delete files with WebFTP, its not a server problem. Which FTP client do you use? Try a client like WS-FTP light or smartftp.
     
  7. deploymentgeek

    deploymentgeek New Member

    I just tried with smartftp and same error.
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    But you are shire that if you do the same action in WebFTP it works?
     
  9. deploymentgeek

    deploymentgeek New Member

    yes it works perfectly. I deleted the default index file and uploaded a new one.
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    And if you connect with the same username and password that you used for webFTP with smartftp and try to delete the index file uploaded with webFTP, you get access denied?
     
  11. deploymentgeek

    deploymentgeek New Member

    yes I use the same username and password, and try to delete a file I have uploaded with web ftp
     
  12. deploymentgeek

    deploymentgeek New Member

    yes, I use the same username and password and I am trying to delete a file that I have uploaded with the web-ftp
     
  13. falko

    falko Super Moderator Howtoforge Staff

    Can you post the output of
    Code:
    ls -la /path/to/file
    ?
     
  14. deploymentgeek

    deploymentgeek New Member

    here you go:

    -rwxrwxr-x 1 web6_rr web6 1191 2005-12-28 10:41 /home/www/web6/user/web6_rr/web/index.html
     
  15. deploymentgeek

    deploymentgeek New Member

    sorry wrong file.

    Here´s the right file:


    -rw-r--r-- 1 web6_rr web6 3290 2005-12-28 12:24 /home/www/web6/web/index.htm
     
  16. falko

    falko Super Moderator Howtoforge Staff

    Ok, and you're sure you're logging in as web6_rr with your FTP client?
     
  17. deploymentgeek

    deploymentgeek New Member

    yes, otherwise I am not able to login. and web6_rr is the administrator of the domian.
     
  18. falko

    falko Super Moderator Howtoforge Staff

    Hm... what's the output of
    Code:
    ls -la /home/www/web6
    ?
     
  19. deploymentgeek

    deploymentgeek New Member

    www2:~# ls -la /home/www/web6
    total 52
    drwxr-xr-x 10 www-data web6 4096 2005-12-28 17:24 .
    drwxr-sr-x 8 root staff 4096 2005-12-28 19:06 ..
    drwxrwxr-x 2 www-data web6 4096 2005-12-28 10:41 cgi-bin
    -rw------- 1 web6_rr web6 24 2005-12-28 17:24 .forward
    -rw-rw-r-- 1 root web6 22 2005-12-29 04:00 .htpasswd
    drwxr-xr-x 3 www-data web6 4096 2005-12-29 00:30 log
    lrwxrwxrwx 1 root root 35 2005-12-28 17:24 Maildir -> /home/www/web6/user/web6_rr/Maildir
    drwxrwxrwx 2 www-data web6 4096 2005-12-28 10:41 phptmp
    -rw-r--r-- 1 root root 411 2005-12-28 17:24 .procmailrc
    drwx------ 2 web6_rr web6 4096 2005-12-28 14:08 .spamassassin
    drwxr-xr-x 2 www-data web6 4096 2005-12-28 10:41 ssl
    drwx------ 2 web6_rr web6 4096 2005-12-28 14:08 tmp
    drwxr-xr-x 3 www-data web6 4096 2005-12-28 10:41 user
    lrwxrwxrwx 1 root root 43 2005-12-28 17:24 .vacation.cache -> /home/www/web6/user/web6_rr/.vacation.cache
    drwxrwxr-x 4 www-data web6 4096 2005-12-28 14:03 web
     
  20. till

    till Super Moderator Staff Member ISPConfig Developer

    This looks like web6_rr is not the administrator of the web.

    Please unchech the administrator checkbox of the user web6_rr, hit save, wait about 1 minute, then check the administrator checkbox for web6_rr again and wait a minute until you try to connect with smartftp.
     

Share This Page