LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > suexec conflicts with web server user

Reply
 
Thread Tools Display Modes
  #1  
Old 11-19-2006, 08:05 AM
fantasydreaming fantasydreaming is offline
Senior Member
 
Join Date: Sep 2006
Posts: 76
Default suexec conflicts with web server user

1) Rails processes run in the owner of the owner of the public directory. Since I use capistrano to release, this can't be the 'nobody' user since it's launched via ssh and svn, which checks out as the currently running user.

There doesn't appear to be any way to change this...

1a) With lighttpd I'd changed the 'log' directory to be world writeable, so the web server+rails processes could access it.

2) Litespeed should run with a user that doesn't have an ssh shell.

3) When people upload images, they're owned by the rails process owner 'rails', but then can't be read by the webserver because it's 'nobody'.

4) I tried adding 'rails' to the 'nobody' group, but saved files are created as chmod 500 or whatever, so group still has no access.

I'd really like a way to force rails to use the 'nobody' group even though the public directory is owned by someone else.

Any ideas?
Reply With Quote
  #2  
Old 11-19-2006, 07:12 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
To run setuid process in a fixed GID, not follow the GID of public folder, try
"Force GID" option under "Server"->"Security" tab. The UID is still follow that of public folder.

LiteSpeed provide all the flexibilities, you should be able to find a good security model which fits your needs.
Reply With Quote
Reply

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


All times are GMT -7. The time now is 07:18 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.