Fix file access restrictions.