fixed index file permissions