#1  
Old 7th September 2009, 18:48
wabz wabz is offline
Member
 
Join Date: Jul 2009
Posts: 84
Thanks: 4
Thanked 0 Times in 0 Posts
Default Permission Problem

I am having a problem when installing new joomla components and modules on my site. For unknown reasons the file permission are given to another user and not the web client. Here is an example


drwxrwxrwx 2 web2 client2 4096 Aug 11 15:23 com_checkin
drwxr-xr-x 3 wwwrun www 4096 Sep 7 13:25 com_civicrm
drwxrwxrwx 5 web2 client2 4096 Aug 11 15:24 com_config
drwxrwxrwx 6 web2 client2 4096 Aug 11 15:24 com_fpss
drwxr-xr-x 6 wwwrun www 4096 Sep 7 16:47 com_freepaypal
drwxrwxrwx 4 web2 client2 4096 Aug 11 15:24 com_frontpage
drwxrwxrwx 8 web2 client2 4096 Aug 11 15:24 com_google


So how do i revert back to web2 client2 instead of wwwrun www?
Reply With Quote
Sponsored Links
  #2  
Old 8th September 2009, 14:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

You can use the chown command:
Code:
chown web2:client2 com_civicrm
See
Code:
man chown
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 9th September 2009, 17:28
wabz wabz is offline
Member
 
Join Date: Jul 2009
Posts: 84
Thanks: 4
Thanked 0 Times in 0 Posts
Default Yes

Thanks Falko. Will i have to do it every time i install a new component, module or pluggin in joomla?
Reply With Quote
  #4  
Old 10th September 2009, 18:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Depends on how you install it. If you upload it with FTP as the right user, then no. If you install it through your browser and you're using mod_php, then the files/directories will be owned by the Apache user/group.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 14th September 2009, 11:47
wabz wabz is offline
Member
 
Join Date: Jul 2009
Posts: 84
Thanks: 4
Thanked 0 Times in 0 Posts
Default OK Nice

the problem is when i run chown web2:client2 com_civicrm it only work for the main folder and not the subfolders and files inside.
Reply With Quote
  #6  
Old 14th September 2009, 12:38
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,384 Times in 4,231 Posts
 
Default

Use:

chown -R web2:client2 com_civicrm
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
rsync: opendir "/var/www/web44/web" failed: Permission denied (13) adrenalinic HOWTO-Related Questions 7 4th August 2009 13:16
Wierd file and folder permission problem. Code5 Installation/Configuration 3 24th July 2008 09:45
Virtual users... Ubuntu 8.04 spaceuser HOWTO-Related Questions 12 19th June 2008 08:04
very slow domain setting loading Hellbound General 8 2nd January 2008 22:17
Permission problem Roundcubemail pauluzs General 1 16th March 2007 18:40


All times are GMT +2. The time now is 18:07.


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