File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,11 @@ if [ "${OS%:*}" = "centos" ]; then
42
42
make rpm
43
43
sudo mkdir -p /var/log/mamonsu
44
44
sudo touch /var/log/mamonsu/mamonsu.log
45
- chmod -R 640 /var/log/mamonsu/
45
+ chmod -R 777 /var/log/mamonsu/
46
46
sudo mkdir -p /etc/mamonsu
47
47
sudo touch /etc/mamonsu/agent.conf
48
48
cat /mamonsu/github-actions-tests/sources/agent_3.4.0.conf > /etc/mamonsu/agent.conf
49
- chmod -R 640 /etc/mamonsu/
49
+ chmod -R 777 /etc/mamonsu/
50
50
sudo yum -y install ./mamonsu* .rpm
51
51
systemctl daemon-reload
52
52
systemctl restart mamonsu
@@ -71,11 +71,11 @@ elif [ "${OS%:*}" = "ubuntu" ]; then
71
71
make deb
72
72
sudo mkdir -p /var/log/mamonsu
73
73
sudo touch /var/log/mamonsu/mamonsu.log
74
- chmod -R 640 /var/log/mamonsu/
74
+ chmod -R 777 /var/log/mamonsu/
75
75
sudo mkdir -p /etc/mamonsu
76
76
sudo touch /etc/mamonsu/agent.conf
77
77
cat /mamonsu/github-actions-tests/sources/agent_3.4.0.conf > /etc/mamonsu/agent.conf
78
- chmod -R 640 /etc/mamonsu/
78
+ chmod -R 777 /etc/mamonsu/
79
79
sudo apt-get -y install ./mamonsu* .deb
80
80
service mamonsu restart
81
81
sleep 5
Original file line number Diff line number Diff line change @@ -27,14 +27,14 @@ install: build
27
27
binary-indep : build install
28
28
dh_testdir -i
29
29
dh_testroot -i
30
- dh_fixperms -i
31
- install -m 0640 packaging/conf/example_linux.conf debian/mamonsu/usr/share/mamonsu/example_linux.conf
30
+ install -m 0644 packaging/conf/example_linux.conf debian/mamonsu/usr/share/mamonsu
32
31
dh_installchangelogs -i
33
32
dh_installinit -i
34
33
dh_installdebconf -i
35
34
dh_installlogrotate -i
36
35
dh_link -i
37
36
dh_compress -i
37
+ dh_fixperms -i
38
38
dh_installdeb -i
39
39
dh_gencontrol -i
40
40
dh_md5sums -i
@@ -43,7 +43,6 @@ binary-indep: build install
43
43
binary-arch : build install
44
44
dh_testdir -a
45
45
dh_testroot -a
46
- dh_fixperms -a
47
46
dh_installdocs -a
48
47
dh_installexamples -a
49
48
dh_installchangelogs -a
@@ -53,6 +52,7 @@ binary-arch: build install
53
52
dh_strip -a
54
53
dh_link -a
55
54
dh_compress -a
55
+ dh_fixperms -a
56
56
dh_shlibdeps -a
57
57
dh_installdeb -a
58
58
dh_gencontrol -a
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export PYTHONPATH=%{buildroot}%{python3_sitelib}
30
30
%{__mkdir} -p %{buildroot }/%{_sysconfdir }/logrotate.d
31
31
%{__mkdir} -p %{buildroot }/%{_datarootdir }/%{name }
32
32
33
- %{__install} -m 0640 -p packaging/conf/example_linux.conf %{buildroot }/%{_sysconfdir }/%{name }/agent.conf
33
+ %{__install} -m 0644 -p packaging/conf/example_linux.conf %{buildroot }/%{_sysconfdir }/%{name }/agent.conf
34
34
%{__install} -m 0644 -p packaging/conf/template_linux.xml %{buildroot }/%{_datarootdir }/%{name }/template.xml
35
35
%{__install} -m 0644 -p examples/*.py %{buildroot }/%{_datarootdir }/%{name }/
36
36
%{__install} -m 0755 -p %{SOURCE1 } %{buildroot }/%{_sysconfdir }/init.d/%{name }
You can’t perform that action at this time.
0 commit comments