Web Site Permission

Discussion in 'General' started by linuxuser1, Sep 15, 2006.

  1. linuxuser1

    linuxuser1 New Member

    I have installed ISPconfig 2.2.6 but am having problem with the site permission. This is the output of my -
    ls -la /home/www/web1/web/
    This the output:
    total 236
    drwxrwxr-x 18 cja1_alpharadio web1 4096 Sep 15 02:04 .
    drwxr-xr-x 8 cja1_alpharadio web1 4096 Sep 15 11:43 ..
    -rw-r--r-- 1 root root 10884 Sep 12 21:28 Event_Scheduler.php
    drwxrwxrwx 7 root root 4096 Sep 15 01:19 PHPweb
    drwxr-xr-x 2 root root 4096 Sep 15 01:19 _notes
    drwxr-xr-x 2 root root 4096 Sep 15 01:19 _private
    drwxr-xr-x 2 root root 4096 Sep 15 01:19 _vti_cnf
    drwxr-xr-x 2 root root 4096 Sep 15 01:19 _vti_pvt
    drwxr-xr-x 2 root root 4096 Sep 15 01:19 banners
    -rw-r--r-- 1 root root 850 Sep 19 2004 buycd.php
    drwxr-xr-x 3 root root 4096 Sep 15 01:19 common
    -rw-r--r-- 1 root root 2505 Sep 7 15:24 config.php
    -rw-r--r-- 1 root root 537 Sep 12 13:04 cp.js
    -rw-r--r-- 1 root root 261 Sep 6 23:22 dbconfig.xml.php
    -rw-r--r-- 1 root root 951 Mar 10 2006 dedication.php
    -rw-r--r-- 1 root root 109 Feb 25 2000 desktop.ini
    drwxrwxr-x 2 cja1_alpharadio web1 4096 Sep 15 00:26 error
    -rw-r--r-- 1 root root 346 Sep 7 17:13 footer.php
    -rw-r--r-- 1 root root 1269 Sep 7 16:41 header.php
    drwxr-xr-x 4 root root 4096 Sep 15 01:19 images
    -rw-r--r-- 1 root root 112 Sep 12 13:04 index.htm
    -rw-r--r-- 1 root root 72 Sep 7 20:19 index.php
    -rw-r--r-- 1 root root 112 Aug 21 2002 indexxxx.html
    -rw-r--r-- 1 root root 5686 Aug 13 2002 linegraph.class
    drwxr-xr-x 4 root root 4096 Sep 15 01:19 listen
    -rw-r--r-- 1 root root 2454 Dec 23 2002 listener_graph.php
    -rw-r--r-- 1 root root 3993 Sep 14 13:24 listennow10.php
    -rw-r--r-- 1 root root 3984 Sep 14 13:26 listennow11.php
    -rw-r--r-- 1 root root 3254 Sep 12 13:55 listennow2.php
    -rw-r--r-- 1 root root 3743 Sep 14 13:31 listennow3.php
    -rw-r--r-- 1 root root 4934 Sep 14 15:32 listennowp.php
    -rw-r--r-- 1 root root 4840 Sep 14 15:36 listennowq.php
    -rw-r--r-- 1 root root 6638 Aug 26 15:25 logo.gif
    -rw-r--r-- 1 root root 850 May 20 2005 nav.php
    -rw-r--r-- 1 root root 364 Sep 19 2004 partners.php
    drwxr-xr-x 3 root root 4096 Sep 15 01:19 pictures
    -rw-r--r-- 1 root root 5613 Sep 7 22:42 playing.php
    -rw-r--r-- 1 root root 4328 Mar 10 2006 playlist.php
    drwxr-xr-x 2 root root 4096 Sep 15 01:19 req
    -rw-r--r-- 1 root root 174 Oct 17 2004 req.php
    -rw-r--r-- 1 root root 396 Jan 23 2003 search.php
    -rw-r--r-- 1 root root 189 Oct 17 2004 songinfo.js
    -rw-r--r-- 1 root root 4605 Mar 10 2006 songinfo.php
    drwxr-xr-x 2 cja1_alpharadio web1 4096 Sep 15 01:19 stats
    -rw-r--r-- 1 root root 191 Aug 21 2002 style.css
    drwxrwxrwx 18 cja1_alpharadio web1 4096 Sep 15 01:20 test
    drwxrwxrwx 18 root root 4096 Sep 15 01:20 test1
    -rw-r--r-- 1 root root 588 Oct 17 2004 tmm.php
    -rw-r--r-- 1 root root 1558 Oct 17 2004 top10requests.php
    drwxr-xr-x 2 root root 4096 Sep 15 01:20 weblogic

    With this the user cja1_alpharadio who is the site administrator is not able to update files, delete folder/files in the web directory through ftp.

    I ran chown cja1_alpharadio:web1 /home/www/web1/web and yet no changes.

    Is there anything else I can do to correct this.

    Thanks for any help.
     
  2. torusturtle

    torusturtle ISPConfig Developer ISPConfig Developer

    It look slike it didn't change anything.

    Try the same but with -R and a slash at the end of the folder web
    Code:
    chown -R cja1_alpharadio:web1 /home/www/web1/web/
    Is the name of your user cja1_alpharadio and not maybe web1_alpharadio?
     
  3. linuxuser1

    linuxuser1 New Member

    Hi torusturtle,

    Thanks for this. Using chown -R cja1_alpharadio:web1 /home/www/web1/web/ that did it. The name of the wb owner was correct.

    Much appreciated.
     

Share This Page