PDA

View Full Version : Typo3 4.0 and chgrp



solusfides
05-20-2006, 10:53 AM
ok, so part of the installation process of Typo3 4.0 requires you to change the group to <wwwserver> or whatever the server is running as. Can anyone tell me what that group is?

KnowProSE
05-21-2006, 04:18 PM
It's been a while since I used Typo3 (and I've blacked out most of that experience) - but I think you should be fine when installing to the root directory.

Why, have you come across an error while following the brilliant Typo3 documentation? :) As I said, it's been a while, but maybe a cobweb will shift...

solusfides
05-21-2006, 04:24 PM
well, I'm not installing this into the root directory. And, being on version 4, he's improved a good number of things. I'm also reading through the joomla docs, and am impressed by the Drupal stuff, so far. Joomla does seem to have an easier themability so far (and some amazingly educational documentation with links to useful and juicy CSS toys).
I'm looking at Typo3 4.0 due to certain extensions that have been written for it, for a possible client of mine (I'm looking elsewhere to see if I can find a similar venue for those needs those extensions are said to appeal to).

His instructions say this:

Set permissions (as root): There are at least two options.
These steps will make four directories writable for the webserver:
- cms/fileadmin/
- cms/typo3conf/
- cms/typo3temp/
- cms/uploads/

5.a (recommended)
Run these commands as root in the cms/ directory:
# chgrp -R <wwwserver> fileadmin typo3conf typo3temp uploads
# chmod -R g+w,o-rwx fileadmin typo3conf typo3temp uploads

... where <wwwserver> is the name of the group your webserver
is running as

5.b (insecure but easy to apply)
I repeat: This is insecure!
Do not use this method if you are working on a shared server!

Simply run this command:
$ chmod -R a+w fileadmin typo3conf typo3temp uploads

it's the chgrp command that is hanging me right now, because I don't know what the <wwwserver> is. It must be something different than the normal server group, because it's not willing to load yet.

KnowProSE
05-21-2006, 05:15 PM
You should probably open a support ticket. As I recall, you'll need root access... and the only people who will really know what the group is are Bluehost. I suspect it's Apache (you can try that... if you have sufficient privileges...).

As for the CMS's... well, I like post and go. I've converted 2 sites for clients from Typo3 to Drupal, so I'm not a keen person when it comes to Typo3. I hope you enjoy it when you get it installed. :-)

dvessel
05-21-2006, 06:12 PM
it's the chgrp command that is hanging me right now, because I don't know what the <wwwserver> is. It must be something different than the normal server group, because it's not willing to load yet.

All of our accounts are run as suexec so if it's telling you to change the permission just to write to those directories then you don't have to worry.

http://httpd.apache.org/docs/1.3/suexec.html

Basically everything is run as you (your user account) when a php or some script gets executed as long as it's in your own home directory. Your account is also attached to a special group that includes you and maybe something else, I forget. This makes it more secure and you will never run into permission denied messages in this context. Also running as root is the worse thing you can do as the instruction says.

Bottom line, no need to change permissions. --I believe. :)

solusfides
05-22-2006, 07:06 AM
All of our accounts are run as suexec so if it's telling you to change the permission just to write to those directories then you don't have to worry.
...
Bottom line, no need to change permissions. --I believe. :)

I was wondering if it might be something like that, since everything was grouped by the domain name.

designer267
04-19-2007, 11:28 PM
Hi I am having a similar problem with with folder/file accessibility. The manual says this:

"Run these commands as root in the cms/ directory:
# chgrp -R <wwwserver> fileadmin typo3conf typo3temp uploads
# chmod -R g+w,o-rwx fileadmin typo3conf typo3temp uploads

... where <wwwserver> is the name of the group your webserver
is running as"

It sounds simple But the main problem is that I am a little new to this syntax and dont completely know how to "Run Commands."

I found this after a 5 Hour search on the topic and got no real help. All suggestions are welcome. Thanks.