I was told this would help me chmod directories:
find . -type 'd' -exec chmod 755 {} \;
that worked.
But how can I find php files and chmod them to 644 recursively?
is there a similar command to do that? just files ending in .php?
Thanks
I was told this would help me chmod directories:
find . -type 'd' -exec chmod 755 {} \;
that worked.
But how can I find php files and chmod them to 644 recursively?
is there a similar command to do that? just files ending in .php?
Thanks
I tried this:
find . -type 'f' -name '*.php' -exec chmod 644 {} \;
and it worked.
glad I did not break anything...