/[smecontribs]/rpms/smeserver-automysqlbackup/contribs10/smeserver-automysqlbackup-update-permission-change.patch
ViewVC logotype

Contents of /rpms/smeserver-automysqlbackup/contribs10/smeserver-automysqlbackup-update-permission-change.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sun Jan 31 23:54:21 2021 UTC (3 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-automysqlbackup-3_0_RC6-30_el7_sme, smeserver-automysqlbackup-3_0_RC6-26_el7_sme, smeserver-automysqlbackup-3_0_RC6-20_el7_sme, smeserver-automysqlbackup-3_0_RC6-27_el7_sme, smeserver-automysqlbackup-3_0_RC6-21_el7_sme, smeserver-automysqlbackup-3_0_RC6-32_el7_sme, smeserver-automysqlbackup-3_0_RC6-24_el7_sme, smeserver-automysqlbackup-3_0_RC6-28_el7_sme, smeserver-automysqlbackup-3_0_RC6-31_el7_sme, smeserver-automysqlbackup-3_0_RC6-29_el7_sme, smeserver-automysqlbackup-3_0_RC6-22_el7_sme, smeserver-automysqlbackup-3_0_RC6-19_el7_sme, smeserver-automysqlbackup-3_0_RC6-18_el7_sme, smeserver-automysqlbackup-3_0_RC6-17_el7_sme, smeserver-automysqlbackup-3_0_RC6-16_el7_sme, smeserver-automysqlbackup-3_0_RC6-23_el7_sme, HEAD
patches

1 diff -ruN smeserver-automysqlbackup-3.0.RC6.old/root/sbin/e-smith/runmysqlbackup smeserver-automysqlbackup-3.0.RC6/root/sbin/e-smith/runmysqlbackup
2 --- smeserver-automysqlbackup-3.0.RC6.old/root/sbin/e-smith/runmysqlbackup 2018-11-26 18:08:44.770696142 +0100
3 +++ smeserver-automysqlbackup-3.0.RC6/root/sbin/e-smith/runmysqlbackup 2018-11-26 18:20:51.680243461 +0100
4 @@ -2,6 +2,12 @@
5
6 /usr/local/bin/automysqlbackup $1 >/dev/null
7
8 -chown root:root /root/backup/db* -R
9 -find /root/backup/db* -type f -exec chmod 400 {} \;
10 -find /root/backup/db* -type d -exec chmod 700 {} \;
11 +DB=$(/sbin/e-smith/db configuration getprop automysqlbackup Backupdir)
12 +
13 +if [ -z "$DB" ]; then
14 + DB="/root/backup/db";
15 +fi
16 +
17 +chown root:root $DB* -R
18 +find $DB* -type f -exec chmod 400 {} \;
19 +find $DB* -type d -exec chmod 700 {} \;

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed