Skip to content

Commit d7f8ed5

Browse files
committed
docs(nginx): clarify www root dir owner
1 parent 9dfbcd9 commit d7f8ed5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

subcmd/nginx.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func ActionNginxVhostPHP(nvf *nginxVhostFactory) cli.ActionFunc {
9191
if err := os.Chmod(rootDir, 0755); err != nil {
9292
return fmt.Errorf("could not set permissions on www root directory %s: %s", rootDir, err)
9393
}
94-
// Set www directory owner
94+
// Set www directory owner to current user who ran the command
9595
uid, err := strconv.Atoi(os.Getenv("SUDO_UID"))
9696
if err != nil {
9797
return fmt.Errorf("could not get SUDO_UID: %s", err)

0 commit comments

Comments
 (0)