diff --git a/backend/utils/toolbox/pure-ftpd.go b/backend/utils/toolbox/pure-ftpd.go index e9a61b9ae..8538ea599 100644 --- a/backend/utils/toolbox/pure-ftpd.go +++ b/backend/utils/toolbox/pure-ftpd.go @@ -60,7 +60,7 @@ func NewFtpClient() (*Ftp, error) { if err != nil { return nil, errors.New(string(stdout)) } - stdout2, err := cmd.Execf("useradd -u 1000 -g 1panel %s", userItem.Username) + stdout2, err := cmd.Exec("useradd -u 1000 -g 1panel 1panel") if err != nil { return nil, errors.New(stdout2) }