Maintain permissions on files