httpd access problems

Gene Heskett gene.heskett at verizon.net
Thu Oct 30 13:29:40 UTC 2008


On Thursday 30 October 2008, Tim wrote:
>Tim:
>>> Don't forget world executable permissions on directories.
>
>Gene Heskett:
>> Ahh, so it should have been 0655, fixed I hope.
>
>Don't do that to files, you don't want to make all your webservable
>files executable, unless they need it (e.g. CGI scripts, or SHTML pages
>where you're using the X bit hack to tell the server to parse them for
>SSI, rather than using the filename suffix).
>
>That's where doing something like "chmod o+X" (that's a deliberate
>capital X), rather than "chmod 644" was useful.  It'd set executable
>bits where it was needed (to directories), and not where it was not (not
>on files, unless they were already executable).
>
Neat trick, thanks.  I learned something today. :)

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
<SlayR> i just bought MS Office 2000 for only $20!!!
<Knghtbrd> you got ripped off  ;>
<SlayR> i know ;)




More information about the fedora-list mailing list