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
isp
ISPConfig 3
Commits
976677a7
Commit
976677a7
authored
May 03, 2012
by
tbrehm
Browse files
Fixed: FS#2168 - Restore permissions of pdf files in invoices directory
parent
dba1bd96
Changes
4
Hide whitespace changes
Inline
Side-by-side
install/dist/lib/fedora.lib.php
View file @
976677a7
...
...
@@ -1052,9 +1052,8 @@ class installer_dist extends installer_base {
replaceLine
(
'/etc/sudoers'
,
'Defaults requiretty'
,
'#Defaults requiretty'
,
0
,
0
);
if
(
is_dir
(
$install_dir
.
'/interface/invoices'
))
{
chmod
(
$install_dir
.
'/interface/invoices'
,
0770
);
chown
(
$install_dir
.
'/interface/invoices'
,
'ispconfig'
);
chgrp
(
$install_dir
.
'/interface/invoices'
,
'ispconfig'
);
exec
(
'chmod -R 770 '
.
escapeshellarg
(
$install_dir
.
'/interface/invoices'
));
exec
(
'chown -R ispconfig:ispconfig '
.
escapeshellarg
(
$install_dir
.
'/interface/invoices'
));
}
}
...
...
install/dist/lib/gentoo.lib.php
View file @
976677a7
...
...
@@ -875,9 +875,8 @@ class installer extends installer_base
}
if
(
is_dir
(
$install_dir
.
'/interface/invoices'
))
{
chmod
(
$install_dir
.
'/interface/invoices'
,
0770
);
chown
(
$install_dir
.
'/interface/invoices'
,
'ispconfig'
);
chgrp
(
$install_dir
.
'/interface/invoices'
,
'ispconfig'
);
exec
(
'chmod -R 770 '
.
escapeshellarg
(
$install_dir
.
'/interface/invoices'
));
exec
(
'chown -R ispconfig:ispconfig '
.
escapeshellarg
(
$install_dir
.
'/interface/invoices'
));
}
// TODO: FIXME: add the www-data user to the ispconfig group. This is just for testing
...
...
install/dist/lib/opensuse.lib.php
View file @
976677a7
...
...
@@ -1084,9 +1084,8 @@ class installer_dist extends installer_base {
}
if
(
is_dir
(
$install_dir
.
'/interface/invoices'
))
{
chmod
(
$install_dir
.
'/interface/invoices'
,
0770
);
chown
(
$install_dir
.
'/interface/invoices'
,
'ispconfig'
);
chgrp
(
$install_dir
.
'/interface/invoices'
,
'ispconfig'
);
exec
(
'chmod -R 770 '
.
escapeshellarg
(
$install_dir
.
'/interface/invoices'
));
exec
(
'chown -R ispconfig:ispconfig '
.
escapeshellarg
(
$install_dir
.
'/interface/invoices'
));
}
...
...
install/lib/installer_base.lib.php
View file @
976677a7
...
...
@@ -1771,9 +1771,8 @@ class installer_base {
}
if
(
is_dir
(
$install_dir
.
'/interface/invoices'
))
{
chmod
(
$install_dir
.
'/interface/invoices'
,
0770
);
chown
(
$install_dir
.
'/interface/invoices'
,
'ispconfig'
);
chgrp
(
$install_dir
.
'/interface/invoices'
,
'ispconfig'
);
exec
(
'chmod -R 770 '
.
escapeshellarg
(
$install_dir
.
'/interface/invoices'
));
exec
(
'chown -R ispconfig:ispconfig '
.
escapeshellarg
(
$install_dir
.
'/interface/invoices'
));
}
// TODO: FIXME: add the www-data user to the ispconfig group. This is just for testing
...
...
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