This might be kind of a newb question for chmod, but how do you chmod a whole directory?
I am running apache 2 on my fedora core 3 machine, and i don't want folders like "images/" to be seen. Yet this isn't the only one I don't want to be viewed. I am aware of the
Code:
chmod 711 directory
, but it only does that specific directory, it doesn't do the folders in that directory. So is there anyway I can chmod 711 a whole directory? And if I make a new folder, that will also be the 711 permission?
If someone could help me out, that would be greatly appreciated, thanks.
-Asim