bug-4479 Missing permission in export dir not detected

Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>