Set file permissions for accounts file
Set file permissions for preferences file
Set file permissions for logs
Merge branch 'master' into plugins

Conflicts:
	src/config/preferences.c