Results 1 to 5 of 5

Thread: What permission is a server writable?

  1. #1
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    What permission is a server writable?

    Okay, IF a document says "change permission to server writable" on a LAMP system, what would be that directory's permission? Ownership?

    Currently, it's
    Code:
    drwxr-xr-x  4 1025 1011 4096 2006-05-17 01:07 plugins
    drwxr-xr-x 15 1025 1011 4096 2006-05-29 17:08 themes
    drwxr-xr-x  3 root root 4096 2006-08-09 19:57 uploads
    compunuts@sienna64:/var/www/wp-content$
    TIA ..
    LinuxVillage - The truely community run Linux/Floss forum !

    No IT BS !!

  2. #2
    Advisor Outlaw's Avatar
    Join Date
    May 2001
    Location
    Clifton Park, NY
    Posts
    630
    My guess would be writable to the user under which the httpd server or application runs.

  3. #3
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935
    Well, Apache starts with root and spawn child processes to www-data. Would changing ownership to www-data would do it? I'd hate to do 777 on a web server.
    LinuxVillage - The truely community run Linux/Floss forum !

    No IT BS !!

  4. #4
    Advisor Outlaw's Avatar
    Join Date
    May 2001
    Location
    Clifton Park, NY
    Posts
    630
    those instructions sound vague. My RH web server spawns apache owned httpd processes, and my Deb is the same as yours. The only time I change the dir permissions is if an application needs write. Is there an application in the stack that runs as its own user?

  5. #5
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935
    Well, wordpress needs that directory to be able to allow uploads of files. My apache runs as www-data on my Ubuntu box.
    LinuxVillage - The truely community run Linux/Floss forum !

    No IT BS !!

Similar Threads

  1. Samba share no writable
    By Rich0379 in forum Linux - General Topics
    Replies: 9
    Last Post: 09-29-2005, 07:23 PM
  2. SMB permission propagation?
    By Tyr_7BE in forum Linux - Hardware, Networking & Security
    Replies: 17
    Last Post: 02-21-2005, 12:06 AM
  3. permission errors
    By Dswissmiss in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 07-29-2004, 06:33 PM
  4. Writable Shares
    By Funky Data in forum Linux - General Topics
    Replies: 3
    Last Post: 08-20-2002, 04:05 AM
  5. permission denied
    By rwtoften in forum Linux - General Topics
    Replies: 4
    Last Post: 06-10-2002, 02:57 AM

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
  •