Revert "fix permission denied messages."

This reverts commit 9a458058af3b8687ee572201da6154bff1664c55.
Revert "work error messages."

This reverts commit fc0c7460d6911470a5a1a7920189f616ec1b236b.