Pure-FTP Problem

Discussion in 'Installation/Configuration' started by extr3mal, Apr 9, 2013.

  1. extr3mal

    extr3mal New Member

    Greetings i have a ubuntu 12.04 running ISPConfig 3 build according to tutorial on this site. Main problem i cant understand what happening with permissions on host i had read lots of articles about and fixed permissions with that script
    Code:
    chown -hR -v -f root:client3 web/*
    cd web
    find . -type f -exec chmod 644 {} \;
    find . -type d -exec chmod 775 {} \;
    find . -type f -name "configuration.php" -exec chmod 664 {} \;
    find . -type f -name "*.ini" -exec chmod 664 {} \;
    find . -type f -name "*.css" -exec chmod 664 {} \;
    find . -type f -name ".htaccess" -exec chmod 755 {} \;
    
    Now my directories looks like that
    Code:
    drwxrwxr-x 23 web3 client3      4096 Apr  4 01:47 .
    drwxr-xr-x 19 root root         4096 Apr  2 16:27 ..
    -rwxr-xr-x  1 web3 client3        26 Mar 31 17:13 .htaccess
    drwxrwxr-x  8 root client3      4096 Nov 30 13:38 1
    -rw-r--r--  1 root client3   1248388 Jun  4  2012 1.dxf
    -rw-r--r--  1 root client3 773322979 Jun 14  2012 30_05_12.rar
    -rw-r--r--  1 root client3     17816 Apr  4 01:47 LICENSE.txt
    -rw-r--r--  1 root client3      4244 Apr  4 01:47 README.txt
    drwxrwxr-x 10 root client3      4096 Jan 17  2012 administrator
    drwxrwxr-x  2 root client3      4096 Apr  4 02:53 cache
    drwxrwxr-x  2 root client3      4096 May 27  2012 cli
    drwxrwxr-x 18 root client3      4096 Apr  4 02:59 components
    -rw-rw-r--  1 root client3      2023 Apr  4 01:18 configuration.php
    drwxrwxr-x  2 root client3      4096 Mar 31 17:13 error
    -rw-r--r--  1 root client3      7358 Mar 31 17:13 favicon.ico
    -rw-r--r--  1 root client3        53 Aug 19  2011 google155357b186b70b74.html
    -rw-r--r--  1 root client3      3118 Apr  4 01:47 htaccess.txt
    drwxrwxr-x  7 root client3      4096 May 28  2012 images
    
    But i cant upload to them anyway
     

Share This Page