On Sat, 15 Feb 2003, Timothy Bolz wrote:

> I found the solution after search the web.  The one site said I have to have 
> chmod o+x ~ of my home directory.
> It worked and now the webpages come up.  Maybe someone can enlighten me on 
> why this worked. Wouldn't this be a security breach if anyone can execute 
> code?

No, permissions for directories work differently.
 o+x (or g+x) means that the world ( or group) can 'use' files in that
directory. The meaning of 'use' is determined by the permissions of the
actual file, the usual three r, w, or x 

 o+r means that the world can read(list) the directory (if they can read,
edit, or excecute any file in that dir depends again of the file's perms)

 o+w means that the world can change a file's name (if that file allows
it)

To memorize this it helps to look at the directory as just another 'file',
sort of the listing of what's in it. From that perspective:
        x => use what's in it
        r => list what's in it
        w => change the listing, i.e. the name of a file in it

(again directory perms are just a pre-filter -- the perms of the
actual files in it decide).............. Horst

_______________________________________________
Eug-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to