filesystem permission tweaks for the files module