def share_dir(email,path,perm="r",repo=self.repo,s_type="d")
      post_share_dir(repo,{"email"=> email, "path"=> path,"s_type"=> s_type,"perm"=> perm})
    end
def share_dir(email,path,perm="r",repo=self.repo,s_type="d")
      post_share_dir(repo,{"email"=> email, "path"=> path,"s_type"=> s_type,"perm"=> perm})
    end
You do not have permission to perform this action