The directory in question must have write permissions for the Apache process (
apache?). Whether this means that the directory is owned by
apache, or simply that
apache is part of a group with write permissions matters not. But yes, you're going to need root permissions to change the permissions on that directory.
I suggest you do some research on unix file permissions. Basically, files and directories have User, Group, and Other permission bits (Read/Write/eXecute)...
[fuzzy@jason fuzzy]$ ls -l testfile
-rw-rw-r-- 1 fuzzy fuzzy 0 Jul 17 11:07 testfile
As you can see, my User and Group sections have both Read and Write permissions turned on. Everyone else that isn't part of these two entities (Other) only has Read permissions. The file is owned by my user (fuzzy) and the respective group (fuzzy). If you want your directory to be writeable by the Apache process, the directory must either be owned by
apache with Write permissions turned on, or
apache must be a part of the Group entity, with Write permissions turned on.
Hope this helps!
-fp
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.