View Single Post
  #5   (View Single Post)  
Old 30th September 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Without more info, here are some things to think about:

Permissions:

There are three read/write/execute permissions to set: world, group, and owner. Every file has a single group and a single owner. The owner uses the owner permissions, other users who are members of the group -- and who are NOT the owner -- use the group permissions, and users who are neither the owner nor in the group use the world permissions.

Directories can be searched or not searched with the execute bits (world, group, user). So a directory which is searchable for files (regardless of the file permission settings) needs to have the appropriate execute bits set.

Which directory is this again?

The built-in Apache server is chrooted by default. That may be adding to your confusion, as Apache's root is /var/www, not /. See FAQ 10.16 if you are using chrooted Apache.
Reply With Quote