catching perms error when getting list of files
version 1.2