Subject: bug#25419: give better message when trying to go to forbidden areas

From: 積丹尼 Dan Jacobson <[email-masked]>
Date: Wed, 11 Jan 2017 22:44:08 +0800

Do C-x C-f ~root
You will see:
Setting current directory: Success, /root/

But that is about all.

Because normally,

$ cd ~root
bash: cd: /root: Permission denied

Which better reflects reality.