Results 1 to 5 of 5
  1. #1

    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

  2. #2
    Hello,

    From above link you can get full information about Lighttpd.

    http://www.lighttpd.net/

    Thank you

  3. #3
    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.

  4. #4
    Join Date
    Apr 2004
    Location
    SF Bay Area
    Posts
    877
    Quote Originally Posted by bictorman
    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.
    chroot? You sure you don't mean chmod?

    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.

  5. #5
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •