Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 01:12:03 PM

Pages: [1]   Go Down
  Print  
Author Topic: permissions to nobody?  (Read 799 times)
athena
Trekkie
**
Offline Offline

Posts: 12


« on: February 21, 2009, 03:13:59 PM »

The Smarty template installation is requesting the following...

chown nobody:nobody /web/www.example.com/guestbook/templates_c/
chmod 770 /web/www.example.com/guestbook/templates_c/

chown nobody:nobody /web/www.example.com/guestbook/cache/
chmod 770 /web/www.example.com/guestbook/cache/


I've substituted the correct directories into their example, but I'm still getting an error saying that the directory is "not writable by the web server user"... is there something in our VPS setup that would prevent what they're requesting from working?
Logged
Mark Cale
Spaceship Navigator
*****
Offline Offline

Posts: 84


« Reply #1 on: February 21, 2009, 03:17:50 PM »

Hi,

Have you tired to use either 755 or even 644 to see what results are from using either?
Logged
athena
Trekkie
**
Offline Offline

Posts: 12


« Reply #2 on: February 21, 2009, 05:19:43 PM »

The only way I can it to work is if I set 777 which I know I probably don't want.

I'm wondering if it's the "nobody" business that is causing the problem.
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1394



« Reply #3 on: February 22, 2009, 10:21:30 PM »

The only way I can it to work is if I set 777 which I know I probably don't want.

I'm wondering if it's the "nobody" business that is causing the problem.

I think your guess is correct. By defaul Apache runs under apache username in VPS, so you would change nobody to apache in the commands you issues to see if it helps to get rid of 777 permissions.
Logged

Kind Regards,
Vlad Artamonov
Pages: [1]   Go Up
  Print  
 
Jump to: