Fix fsync permissions