Security to moodledata folder

Re: Security to moodledata folder

by Visvanath Ratnaweera -
Number of replies: 0
Picture of Particularly helpful Moodlers Picture of Translators
> how can I tell it to only do folders with the 700 permission, and then only do files with the 600 permission?

$ find [directory] -type d -exec chmod 700 {} \;
$ find [directory] -type f -exec chmod 600 {} \;

see "man find".