diff --git a/backend/app/service/website.go b/backend/app/service/website.go index 5c3161a62..e4bdfdb96 100644 --- a/backend/app/service/website.go +++ b/backend/app/service/website.go @@ -1413,7 +1413,7 @@ func (w WebsiteService) UpdateSitePermission(req request.WebsiteUpdateDirPermiss if cmd.HasNoPasswordSudo() { chownCmd = fmt.Sprintf("sudo %s", chownCmd) } - if out, err := cmd.ExecWithTimeOut(chownCmd, 1*time.Second); err != nil { + if out, err := cmd.ExecWithTimeOut(chownCmd, 10*time.Second); err != nil { if out != "" { return errors.New(out) }