File Permissions

Discussion in 'Installation/Configuration' started by abintipl, Dec 3, 2010.

  1. abintipl

    abintipl Member HowtoForge Supporter

    Hello,

    I have installed perfect-server-debian-lenny-debian-5.0-with-bind-and-dovecot-ispconfig-3 and all went well.

    I have installed Magento Ecommerce but whatever New files we are trying to change using ftp gives an Error

    550 could not change permissions on edit : operation not permitted

    Please advice

    Thanks

    Abin
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please change the php mode in that website to php-fcgi and enable the suexec checkbox.
     
  3. abintipl

    abintipl Member HowtoForge Supporter

    Reply

    Sir,

    As directed, same settings already there, please check the screenshot

    Thanks

    Abin
     

    Attached Files:

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of the command:

    ls -la

    from within the website directory.
     
  5. abintipl

    abintipl Member HowtoForge Supporter

    ls-la

    Dear Sir,

    root:/var/www/clients/client1/web1/web# ls -la
    total 200
    drwsrwsrwt 15 web1 client1 4096 Dec 3 09:24 .
    drwxr-x--x 6 web1 client1 4096 Dec 3 08:16 ..
    -rw-rw-r-- 1 532 536 4600 Jul 26 20:09 .htaccess
    -rw-rw-r-- 1 532 536 10679 Jul 26 20:09 LICENSE.html
    -rw-rw-r-- 1 532 536 10410 Jul 26 20:09 LICENSE.txt
    -rw-rw-r-- 1 532 536 10421 Jul 26 20:09 LICENSE_AFL.txt
    -rw-rw-r-- 1 532 536 51923 Jul 26 20:09 RELEASE_NOTES.txt
    drwxrwxr-x 6 532 536 4096 Jul 26 20:11 app
    -rw-rw-r-- 1 532 536 1606 Jul 26 20:09 cron.php
    -rw-rw-r-- 1 532 536 642 Jul 26 20:09 cron.sh
    drwxrwxr-x 7 532 536 4096 Jul 26 20:11 downloader
    drwxr-xr-x 2 web1 client1 4096 Dec 3 08:16 error
    drwxrwxr-x 3 532 536 4096 Jul 26 20:11 errors
    -rw-rw-r-- 1 532 536 1150 Jul 26 20:09 favicon.ico
    drwxrwxr-x 2 532 536 4096 Jul 26 20:11 includes
    -rwxr-xr-- 1 web1 client1 1958 Dec 3 08:37 index.html
    -rw-rw-r-- 1 532 536 2571 Jul 26 20:09 index.php
    -rw-rw-r-- 1 532 536 2366 Jul 26 20:09 index.php.sample
    -rw-rw-r-- 1 532 536 6129 Jul 26 20:09 install.php
    drwxrwxr-x 11 532 536 4096 Jul 26 20:11 js
    drwxrwxr-x 11 532 536 4096 Dec 3 09:22 lib
    drwxrwxrwx 4 532 536 4096 Jul 26 20:11 media
    -rwxrwxr-x 1 532 536 2982 Jul 26 20:09 pear
    -rw-rw-r-- 1 532 536 751 Jul 26 20:09 php.ini.sample
    drwxrwxr-x 2 532 536 4096 Jul 26 20:11 pkginfo
    drwxrwxr-x 2 532 536 4096 Jul 26 20:11 shell
    drwxrwxr-x 5 532 536 4096 Jul 26 20:11 skin
    drwxr-xr-x 2 root root 4096 Dec 4 00:30 stats
    drwxrwxrwx 4 532 536 4096 Dec 3 09:26 var

    root:/var/www/clients/client1/web1/web#

    Regards,

    Abin
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Please change the user of all files/directories from 532 to web1, and change the group from 536 to client1.
     
  7. gttous

    gttous New Member

    Wow

    Thanks you you saved me !
    ISP config 3.0.4 on my debian 6 doesn t want to create this by default, I will have to do it for each website I will install... I have a magento one but I think it s not due to magento, it s the server...
     

Share This Page