Ftp permissions dont let delete files.

Discussion in 'General' started by ivomendonca, Jun 17, 2010.

  1. ivomendonca

    ivomendonca Banned

    Hello i cant delete the files under the client ftp account, and i checked the file permissions usinf (ls -l) and files are owned by.

    drwxr-xr-x 2 web25 client3 4096 Mai 18 00:25 cgi-bin
    drwxr-xr-x 2 web25 client3 4096 Mai 18 00:25 images
    -rw-r--r-- 1 web25 client3 2450 Mai 18 00:25 postinfo.html
    drwxr-xr-x 2 web25 client3 4096 Mai 18 00:25 _private
    drwxr-xr-x 4 web25 client3 4096 Mai 18 00:25 _vti_bin
    drwxr-xr-x 2 web25 client3 4096 Mai 18 00:25 _vti_cnf
    -rw-r--r-- 1 web25 client3 1754 Mai 18 00:25 _vti_inf.html
    drwxr-xr-x 2 web25 client3 4096 Mai 18 00:25 _vti_log
    drwxr-xr-x 2 web25 client3 4096 Mai 18 00:25 _vti_pvt
    drwxr-xr-x 2 web25 client3 4096 Mai 18 00:25 _vti_txt

    And the client ftp are under :

    UID : web25
    GUI : client3
    /var/www/clients/client3/web25

    Is frontpage extensions that im not using.
    Cant this be treated as normal folders ?

    Thanks.
     
    Last edited: Jun 18, 2010
  2. falko

    falko Super Moderator Howtoforge Staff

    Permissions look ok. Can you delete files that you uploaded, or does this not work either?
     
  3. ivomendonca

    ivomendonca Banned

    Yes, the problem is that i cant delete the folders only, with root account is possible of course.

    Not a real problem, just for notice.

    Maybe if you guys add a activate/deactivate frontpage extensions this get ok.
     
    Last edited: Jun 18, 2010
  4. falko

    falko Super Moderator Howtoforge Staff

    I think you can delete folders only if they are empty. So you need to delete any files/directories first in that folder before you can delete the folder.
     
  5. ivomendonca

    ivomendonca Banned

    You think well, but ftp clients allready have that problem fixed.
    Thanks for your time.
     
    Last edited: Jun 21, 2010

Share This Page