mirror of
https://gitee.com/fit2cloud-feizhiyun/1Panel.git
synced 2024-12-05 13:29:11 +08:00
fix: 解决 ftp 创建用户失败的问题 (#5751)
This commit is contained in:
parent
0ccfeed10d
commit
b1ec7d9f04
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user