mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 16:10:59 +08:00
fix: lint
This commit is contained in:
@@ -204,7 +204,7 @@ func (c *PureFtpdController) Add(ctx http.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
tools.Chmod(path, 755)
|
||||
tools.Chmod(path, 0755)
|
||||
tools.Chown(path, "www", "www")
|
||||
tools.ExecShell(`yes '` + password + `' | pure-pw useradd ` + username + ` -u www -g www -d ` + path)
|
||||
tools.ExecShell("pure-pw mkdb")
|
||||
|
||||
Reference in New Issue
Block a user