mirror of
https://github.com/RIPE-NCC/ripe-atlas-software-probe.git
synced 2024-05-11 05:55:02 +00:00
fix permission conflicts for RUN_DIR
Signed-off-by: Guy Meyer <gmeyer@ripe.net>
This commit is contained in:
@@ -45,6 +45,7 @@ REG_SERVERS_SOURCE=$RPM_ETC_DIR/reg_servers.sh
|
||||
chmod_for_msm()
|
||||
{
|
||||
chmod -R g+rwX $BASE_DIR/data
|
||||
chmod -R g+rw $RUN_DIR
|
||||
}
|
||||
|
||||
# Get ethernet address
|
||||
|
||||
@@ -132,7 +132,8 @@ mkdir -p %{atlas_probe}/data/out/ooq10
|
||||
chown -R atlas:atlas %{atlas_probe}/data
|
||||
chmod -R g+rwx %{atlas_probe}/data
|
||||
mkdir -p %{atlas_probe}/run
|
||||
chown atlas:atlas %{atlas_probe}/run
|
||||
chown -R atlas:atlas %{atlas_probe}/run
|
||||
chmod -R g+rw %{atlas_probe}/run
|
||||
%if 0%{?el7} || 0%{?el8}
|
||||
systemctl --now --quiet enable atlas
|
||||
systemctl --now --quiet start atlas
|
||||
|
||||
Reference in New Issue
Block a user