Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th February 2007, 13:17
nox171 nox171 is offline
Member
 
Join Date: Dec 2006
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Default Apache user on ISPconfig (SUSE 10)

Hi,
I'm installing Joomla on one of my ISPconfig's sites.

I'm following the guide Joomla CMS On An ISPConfig Server Within 10 Easy Steps

but when it says to change the permission to according apache to have access to the web folder I get stuck.

This is the command that the guide provide
( chown -R -v -f www-data:www-data web/* )
when I try to type it in, I receive an error:

chown: `www-data:www-data': invalid user

Do you know what is the right command for me?
I'm running ISPconfig under SUSE 10.0
I think my user for apache is different but I don't know which one I have to use...

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 20th February 2007, 16:54
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

On SuSE, the Apache user is called wwwrun, and the group is www, so the command should be

Code:
chown -R -v -f wwwrun:www-data web/*
__________________
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 1st March 2007, 13:13
nox171 nox171 is offline
Member
 
Join Date: Dec 2006
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I used this command
Code:
 
chown -R -v -f wwwrun:root web/*
following this article

I know, it's in italian but... i'm italian...

Is it correct? The installetion worked fine.

Now I can't upload file using FTP client. Is it normal? Is there a way to permit the FTP user to access the folder?

Logically I'm not using the root user but the user concerning this website.

Thanks
Reply With Quote
  #4  
Old 2nd March 2007, 13:07
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

Quote:
Originally Posted by nox171
Now I can't upload file using FTP client. Is it normal?
Yes, because you're not logged in as wwwrun or root...

Quote:
Originally Posted by nox171
Is there a way to permit the FTP user to access the folder?
Either do a chmod 777 on the directory, or change the group to the group that your FTP user belongs to, and make the directory writable for the 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 17th March 2007, 23:28
orasis orasis is offline
Senior Member
 
Join Date: Mar 2007
Posts: 169
Thanks: 11
Thanked 9 Times in 9 Posts
Default

falko you say this:

Code:
On SuSE, the Apache user is called wwwrun, and the group is www, so the command should be

Code:

chown -R -v -f wwwrun:www-data web/*
shouldn't the command be this ?:

Code:
chown -R -v -f wwwrun:www web/*
on suse 10.1 your command returns error for the group as invalid.

what do you think ?
Reply With Quote
  #6  
Old 18th March 2007, 19:41
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

Quote:
Originally Posted by orasis
shouldn't the command be this ?:

Code:
chown -R -v -f wwwrun:www web/*
on suse 10.1 your command returns error for the group as invalid.

what do you think ?
Yes, you're right.
__________________
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
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
ispconfig breaks php5 in apache ? Randy Installation/Configuration 2 28th October 2006 12:20
ISPConfig for Lighttpd (Without Apache) meekish General 4 10th September 2006 22:23
apache user rbartz Installation/Configuration 4 27th April 2006 12:59
suse 92 and apache for ispconfig mrh Server Operation 2 15th August 2005 21:25
Apache from source on SuSE 9 Brenton Server Operation 1 25th July 2005 18:40


All times are GMT +2. The time now is 16:22.


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