"permission denied" bug fixed