Apache confusion
Monty J. Harder
lists at kc.rr.com
Thu Jun 20 04:46:09 CDT 2002
On Wednesday 19 June 2002 09:06 pm, Jonathan Hutchins wrote:
> Ok, this doesn't make sense. If I make /home world readable, anybody can
> CD to anybody else's home directory. That ain't right. If I don't, Apache
> can't see the user files, but users are supposed to put their files in
> /home/USER/www. Huh?
monster: ~> ls -ld ..
drwxr-xr-x 4 root root 4096 Dec 23 20:29 ..
monster: ~> cd ../jessica
bash: cd: ../jessica: Permission denied
monster: ~> ls -l ..
total 8
drwx------ 10 jessica jessica 4096 Jun 19 09:34 jessica
drwx------ 15 monster monster 4096 Jun 19 11:54 monster
It seems as if the permissions that protect the user directories from being
cd'ed are the permissions on the directory itself.
More information about the Kclug
mailing list