3 ms·
No script needed: chmod ugo+rwX . -R (This is for GNU chmod like in Linux, BSD will be slightly different) Of course, that's not exactly what you asked for
by gunapologist99 4y ago
No script needed:
chmod ugo+rwX . -R
(This is for GNU chmod like in Linux, BSD will be slightly different)
Of course, that's not exactly what you asked for (it's better, read the chmod man page: X applies executable only to directories) but you could just replace ugo+rwX with 777 or 0777.