bug-4479 Missing permission in export dir not detected

Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
Merge pull request #1259 from D-storm/bug-4479

bug-4479 Missing permission in export dir not detected