dammIT

A rantbox by Michiel Scholten

Making your files safer


When sharing a machine with users you gave an account, you'd better take some precautions for your precious files in general dirs [like /storage or whatever]. To do so, do:

Recursively setting files to 644 and dirs to 755:
chmod -R 644 *
find . -type d -exec chmod 755 '{}' ';'

... for example. This is good to remember anyway.