Re: httpd access problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ;)

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux