chmodding

Joined
Oct 13, 2001
Messages
977
a few questions about chmodding:

1. If you chmod a directory called ABC 777 (all read, write, execute) and then chmod the index file inside it 000 and then enter the URL:

http://www.blah.com/ABC

will the file appear??

2. If you chmod a directory will all files uploaded into that directory automatically change to the directory's permissions automatically??

3. If you chmod a directory and then upload into it will the default settings for the file permissions be the same as the directorys??
 
Sorry, windows man here, not *NIX :( I forgot it all many years ago.
When I get home I will dig out my Unix for Windows Users book and check it out.
Ask Fishheads! :lol:

Just curious, why are you asking?
 
Originally posted by Black Fluffy Lion
a few questions about chmodding:

1. If you chmod a directory called ABC 777 (all read, write, execute) and then chmod the index file inside it 000 and then enter the URL:

http://www.blah.com/ABC

will the file appear??

2. If you chmod a directory will all files uploaded into that directory automatically change to the directory's permissions automatically??

3. If you chmod a directory and then upload into it will the default settings for the file permissions be the same as the directorys??

1. No, it'll give you a 403 error I think.

2. No, but they will be limited to that.

3. Not sure what you are asking but I think No, I think the default will be 644 unless the directory has less privelages which would change all the files inside it.

I'm not absolutely positive on these but that is what I think it is.
 
Back
Top Bottom