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
lolo888
ISPConfig 3
Commits
cc99cf87
Commit
cc99cf87
authored
Jul 21, 2009
by
tbrehm
Browse files
Fixed: FS#820 - make website temp directory writable for apache user
parent
8fb58fa0
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/apache2_plugin.inc.php
View file @
cc99cf87
...
...
@@ -476,6 +476,9 @@ class apache2_plugin {
exec
(
"chmod 711 "
.
escapeshellcmd
(
$data
[
"new"
][
"document_root"
])
.
"/*"
);
exec
(
"chmod 710 "
.
escapeshellcmd
(
$data
[
"new"
][
"document_root"
]
.
"/web"
));
// make temp direcory writable for the apache user and the website user
exec
(
"chmod 777 "
.
escapeshellcmd
(
$data
[
"new"
][
"document_root"
]
.
"/tmp"
));
$command
=
'usermod'
;
$command
.
=
' --groups sshusers'
;
$command
.
=
' '
.
escapeshellcmd
(
$data
[
"new"
][
"system_user"
]);
...
...
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