Files folder permissions patch