Permissions.... kind of OT?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I wonder, what rights I need on an Apache server, in order to show a


The subdir needs to have world/modify = true, otherwise I get 403
Fobidden (that is 745)
What is normal for a directory?

As default I do this:
chmod($new_dir, 0744)


Re: Permissions.... kind of OT?

jodleren wrote:
Quoted text here. Click to load it

Yea, off topic.  A better place to ask would be
alt.apache.configuration, because your files should not need world
modify (unless you actually are modifying them and are not the owner or
in the group of the file).

Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.

Re: Permissions.... kind of OT?

In article

Quoted text here. Click to load it

in your document root, you have a directory called subdir

Usually, you have access to the files in that directory unless the
permissions on them forbid Apache from reading the directory (R or read
permission) and "wandering around" the files inside it (X or execute

Set the directory to 755 which will allow anyone on the system to access
the directory and read the files.

If you only want to allow specific files to be accessed by name, remove
the execute permission.  That is, you can specify URLS like

but if you try to access

it will fail because you don't have permission to wander around.

DeeDee, don't press that button!  DeeDee!  NO!  Dee...
[I filter all Goggle Groups posts, so any reply may be automatically by ignored]

Site Timeline