Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th September 2006, 20:37
linuxuser1 linuxuser1 is offline
Member
 
Join Date: Oct 2005
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Default Web Site Permission

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.
Reply With Quote
Sponsored Links
  #2  
Old 15th September 2006, 22:12
torusturtle torusturtle is offline
Senior Member
 
Join Date: Apr 2006
Posts: 296
Thanks: 21
Thanked 24 Times in 16 Posts
Send a message via ICQ to torusturtle Send a message via AIM to torusturtle
Default

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?
Reply With Quote
  #3  
Old 15th September 2006, 22:51
linuxuser1 linuxuser1 is offline
Member
 
Join Date: Oct 2005
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Site Skeletons rbartz Feature Requests 11 29th November 2008 17:07
Static Web Site Configurations christopher Installation/Configuration 8 18th November 2006 15:43
Basic Site Setup mastorna Installation/Configuration 2 22nd June 2006 16:18
Removed site, but it is still there mromer General 2 21st December 2005 18:46
can't delete a site KenMcGinnis Installation/Configuration 2 14th August 2005 16:02


All times are GMT +2. The time now is 06:37.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.