Web Hosting Talk







View Full Version : how to know directory permissions


kooshin
08-23-2005, 03:56 AM
Hello

Don't know if it is in the right forum for this question but here it comes

how can i know the permissions in a specified directorory and all the ones inside it?

I have a directory called modules and under it t here are many folders which I want to give them a 777 chmod but the problem is that they are many like this

modules/manymodules/manymodules


so i was wondering if there is an easy way to know so i can go to that folder that wants to be chmoed 777 instead of going through all of them.


thanks in advance

Kooshin

Burhan
08-23-2005, 08:10 AM
use the -R option.

chmod -R 777 /directory

This will change the permissions recursively.

kooshin
08-23-2005, 01:03 PM
Yes thanks I found out it is easier to use shell to do it and I used shell and worked fine. Thanks Again