Results 1 to 3 of 3

Thread: Setting permissions to apache server

  1. #1
    Join Date
    Aug 2007
    Beans
    163

    Setting permissions to apache server

    Hi,

    I need to give 777 rights to a folder to apache.

    Code:
    ben@ben-desktop:~$ chmod www-data=777 -R /home/ben/Desktop/web/myweb/templates_c/
    chmod: invalid mode: `www-data=777'
    Try `chmod --help' for more information.
    This seems to be wrong, some help there?

    thx,
    ben

  2. #2
    Join Date
    Mar 2006
    Location
    cyberspace
    Beans
    6,198
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Setting permissions to apache server

    Quote Originally Posted by ben22 View Post
    Hi,

    I need to give 777 rights to a folder to apache.

    Code:
    ben@ben-desktop:~$ chmod www-data=777 -R /home/ben/Desktop/web/myweb/templates_c/
    chmod: invalid mode: `www-data=777'
    Try `chmod --help' for more information.
    This seems to be wrong, some help there?

    thx,
    ben
    I think its
    Code:
    sudo chmod -R 777 /path/to/folder
    I trust Microsoft as far as I could comfortably spit a dead rat

    I'm in my third year at a Lutheran seminary!

  3. #3
    Join Date
    Aug 2007
    Beans
    163

    Re: Setting permissions to apache server

    Quote Originally Posted by Kilz View Post
    I think its
    Code:
    sudo chmod -R 777 /path/to/folder
    how do u define the user in there - this way u would give the the user "ben" not apache the 777 rights, I reckon?

Bookmarks

Posting Permissions

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