Fix file system permissions issues