Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilherme Filippo
ISPConfig 3
Commits
d2e84853
Commit
d2e84853
authored
Sep 08, 2011
by
tbrehm
Browse files
Fixed: FS#1652 - vmail chown on autoupdate in mirrored/gluster environment
parent
b4aaf3ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/dist/lib/opensuse.lib.php
View file @
d2e84853
...
...
@@ -95,7 +95,7 @@ class installer_dist extends installer_base {
caselog
(
"
$command
&> /dev/null"
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
}
if
(
$cf
[
'vmail_mailbox_base'
]
!=
''
&&
strlen
(
$cf
[
'vmail_mailbox_base'
])
>=
10
)
exec
(
'chown -R '
.
$cf
[
'vmail_username'
]
.
':'
.
$cf
[
'vmail_groupname'
]
.
' '
.
$cf
[
'vmail_mailbox_base'
]);
if
(
$cf
[
'vmail_mailbox_base'
]
!=
''
&&
strlen
(
$cf
[
'vmail_mailbox_base'
])
>=
10
&&
$this
->
is_update
===
false
)
exec
(
'chown -R '
.
$cf
[
'vmail_username'
]
.
':'
.
$cf
[
'vmail_groupname'
]
.
' '
.
$cf
[
'vmail_mailbox_base'
]);
$postconf_commands
=
array
(
'myhostname = '
.
$conf
[
'hostname'
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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