[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
htdocs permissions ?
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: htdocs permissions ?
- From: Ed White <ed_(_dot_)_white_(_at_)_libero_(_dot_)_it>
- Date: Tue, 26 Apr 2005 09:24:57 +0200
- Reply-to: ed_(_dot_)_white_(_at_)_libero_(_dot_)_it
Hi,
I've been playing with djb's publicfile and I noticed that it uses very
strange permissions for directories that include web files.
This is OpenBSD's Apache:
/var/www
drwxr-xr-x 11 root daemon 512 Sep 3 2004 www
/var/www/htdocs
drwxr-xr-x 14 root daemon 512 Sep 7 2004 htdocs
This is djb's publicfile:
/var/pubtest
drwxr-sr-x 4 root wheel 512 Apr 25 00:26 pubtest
/var/pubtest/file
drwxr-sr-x 3 root wheel 512 Apr 25 00:29 file
/var/pubtest/file/0
drwxr-sr-x 2 root wheel 512 Apr 25 00:25 0
What is better ?
Visit your host, monkey.org