[pmwiki-users] Permission troubles
Patrick R. Michaud
pmichaud at pobox.com
Sun Apr 24 10:43:18 CDT 2005
On Sun, Apr 24, 2005 at 05:27:20PM +0200, Joachim Durchholz wrote:
> >Well, we can take care of it here on the list -- but let me make sure
> >I have all of the permissions correct for all files. I'm guessing
> >that files
>
> Assuming you mean "*.php files" here.
Nope, I was referring to all files. :-)
> > in the distribution (except pmwiki.php) should have
> >rw-r--r-- (644) permissions, all directories should have rwxr-xr-x (755)
> >permissions, and pmwiki.php should be marked as executable with
> >rwxr-xr-x (755) permissions.
>
> Actually it's enough if it's rwxr--r-- (744).
> OTOH it's probably generally a good idea if executable and read bits are
> the same, so rwxr-xr-x is a good choice.
>
> If we ever run into a really paranoid web server, we might consider
> rwxr-x---.
That doesn't work -- if the webserver is running under a "nobody"
account (i.e., not suexec, the majority of webservers) then it won't be
able to access/execute pmwiki.php at all. I think rwxr-xr-x is
probably best here.
Pm
More information about the pmwiki-users
mailing list