file/dir perms may not be given; appending file to list checks for dir_id mismatch