Hi all,

I need to get this clear, and I was hoping you guys could help me,,,,

if I am in /var/www/ and I want to make all directories and subdirecties in
/html to chmod and chown 755 apache.apache respectively, but without
effecting any of the files therein   how can I do that?

(I have tried chmod -R 755 /html but that changes everything...


secondly, if I am in the same dir  /var/www and I want to make all .html or
.jpg or .gif etc,,, to chown apache.apache and chmod 644, without effecting
the directory settings, how can I do that??


Any clearity here would save me hours of messing around as my /html dir has
about 40 other dirs in it, and they all have dirs in them,, it is getting
rather confusing....


any help??


regards

Frank.



Reply via email to