On 6/17/07, Darrel <[EMAIL PROTECTED]> wrote:
http://openbsd.rt.fm/faq/faq10.html#httpdchroot
Per the heading 'What is a chroot?', I plan to change the owner of all
the files in the /var/www directory as read-only by User www. Should
the group of directories and files be changed to www as well? At the
moment, all of the files are owned by root and the groups are either
bin or daemon in /var/www.
You misunderstand what you've read. The FAQ is telling you that under
the existing ownership and permissions, the www user _currently_ has
read-only access to the files in the chroot. You should not alter the
ownership or permissions.
I plan to implement cgi.
The only modifications you'll need is to 'chmod +x' whatever CGI
scripts/programs you place in cgi-bin directories.
DS