debug file permissions