Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Guilherme Filippo
ISPConfig 3
Commits
cd5645e4
Commit
cd5645e4
authored
Sep 25, 2011
by
Falko Timme
Browse files
- Make sure the nginx user is added to the group of a new website.
parent
63b36943
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/nginx_plugin.inc.php
View file @
cd5645e4
...
...
@@ -567,7 +567,7 @@ class nginx_plugin {
}
//* add the nginx user to the client group
$app
->
system
->
add_user_to_group
(
$groupname
,
escapeshellcmd
(
$web_config
[
'user'
]));
$app
->
system
->
add_user_to_group
(
$groupname
,
escapeshellcmd
(
$web_config
[
'
nginx_
user'
]));
$this
->
_exec
(
'chown '
.
$username
.
':'
.
$groupname
.
' '
.
escapeshellcmd
(
$data
[
'new'
][
'document_root'
]));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment