Re: Who should own html files?

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

 



On Mon, 2006-06-19 at 23:06 -0700, Knute Johnson wrote:
> I'm setting up my HTTP server and I'm not sure who should own my html 
> files.  These are not user files but the files I keep in my document 
> root, /var/www/html.  Currently they are owned by root:root.
> 
Html files -- Does not matter who owns them, only who can read them.
The server must be able to read them for the client.

> What about cgi script files in /var/www/cgi-bin?  I wouldn't think 
> you would want them owned by root?
> 
Same as above,  As long as they are not suid they can only do as much
damage as the user _running_ the script/program (usually the user
running the web server).  If the script/program is suid then it can do
as much damage as its _owner_ could do, whoever that may be.  Ownership
is not nearly as intrusive and dangerous as suid would be. 

> Thanks,
> 
> -- 
> Knute Johnson
> Molon Labe...
> 
> 

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux