FTP + MYSQL users cant overwrite files

Discussion in 'HOWTO-Related Questions' started by williamp0044, Jul 14, 2006.

  1. williamp0044

    williamp0044 New Member

    I followed these instructions:
    http://howtoforge.com/proftpd_mysql_virtual_hosting

    and I have everything set up and working and can connect and upload files and delete files but when I am trying to upload or replace an existing file I get an error. How can I fix this?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    What's the exact error message?
     
  3. williamp0044

    williamp0044 New Member

    The ftp program will generally "Can not transfer, you do not have permission"
    Except the directory that the ftp connects to is chmodded to 777 so everyone has full read write and execute.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    ls -la /home
    and
    Code:
    ls -la /path/to/your/FTP_dir
    ?
     
  5. williamp0044

    williamp0044 New Member

    This is my output when i put that command:
    drwxrwxrwx 3 genq williamp0044 4096 2006-07-20 08:28 .
    drwxrwxrwx 13 ftpuser root 4096 2006-07-15 17:11 ..
    drwxrwxrwx 7 genq williamp0044 4096 2006-07-20 08:28 web

    Rather than using a user from the mysql database I added a user to the unix passwd file but that user still cannot overwrite files.
     
  6. williamp0044

    williamp0044 New Member

    I've read that by default proftpd does not allow ftp clients to overwrite exsisting files, how can I change this?
     
  7. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/proftpd.conf?
     

Share This Page