Results 1 to 5 of 5
Thread: Lighttpd user permissions
-
12-25-2006, 04:27 PM #1Newbie
- Join Date
- Dec 2006
- Posts
- 22
Lighttpd user permissions
Hi all
I'm trying to get lighttpd work but I'm having some problems.
In Fedora 6 64 bits the user "lighttpd" seems not to be able of do anything.
Unable to create the rrd log file. (I got it working creating it myself)
Unable to use any log file but the default /var/log/lighttpd/access_log
And my primary objective: Unable to copy the uploaded files from /tmp to the destination directory.
I use this functions when uploading: is_uploaded_file and move_uploaded_file and is while moving the file when I get the error.
Yes. I did:
chown lighttpd:lighttpd
chmod 666
chmod 777
....
I made some test with debian and it worked perfectly with user "www-data". But no luck with fedora.
I created a new user "lighty" and added it to the groups "sys" and "adm". I did "su lighty" and with this user I can create files without problem. Then I set lighttpd to use this user but still no luck.
I've posted this issue in the lighttpd forums but without answer so far. Can anybody help me?
Regards
-
01-09-2007, 02:38 AM #2Disabled
- Join Date
- Jun 2005
- Posts
- 588
Hello,
From above link you can get full information about Lighttpd.
http://www.lighttpd.net/
Thank you
-
01-09-2007, 02:46 AM #3Newbie
- Join Date
- Dec 2006
- Posts
- 22
Thank you but I know de website. Like I've said I posted the issue in the their forums. I got it finally working, It seems that Fedora 6 permissions don't act like I think they should. I had to chroot 777 every dicterory from root to the directory I want to be accessed to get it done.
God, I miss debian.
-
01-09-2007, 04:14 AM #4Web Hosting Master
- Join Date
- Apr 2004
- Location
- SF Bay Area
- Posts
- 879
Originally Posted by bictorman
777 ? Uhh.... that's wrong in so many ways.
755 really doesn't work for you? That's amazing to me. I know Fedora is constant beta but that is just bizarre and so totally wrong if it's "requiring" 777. If it were, I'd ask for CentOS or some other non-beta OS that actually works.
There has to be something really wrong unless you're trying to set perms on an NFS partition that has bad / incorrect mount options. 755 should let you traverse folders no problem.
-
01-09-2007, 04:43 AM #5Newbie
- Join Date
- Dec 2006
- Posts
- 22
Sorry. Yes, chmod.
And yes, 755 didn't work. I'm lucky to be the sole user of the server. It's prolly my fault, I must be misunderstanding something but like I've said I never had these problem with debian.
Unfortunatelly I cant ask for a new OS without purchasing a new account. It's a VPS on a xen based "monolitic OS" server. There where waiting list for any other OS when I signed so I gave Fedora 6 64bits a shot.
Any way It's working right now, so I better don't touch it again.