Fix file access permissions