File permissions rectified