We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71edfe3 commit 4db3b44Copy full SHA for 4db3b44
1 file changed
dcr/scenarios/agent-persist-firewall/setup.sh
@@ -9,7 +9,7 @@ ipt=$(which iptables)
9
username="dcr"
10
script_dir=$(dirname "$0")
11
cp "$script_dir/access_wire_ip.sh" "/usr/bin/"
12
-chmod 777 "/usr/bin/access_wire_ip.sh"
+chmod 700 "/usr/bin/access_wire_ip.sh"
13
mkdir -p /home/$username || echo "this is only needed for Suse VMs for running cron jobs as non-root"
14
# Setup Cron jobs
15
echo "@reboot ($d --utc +\\%FT\\%T.\\%3NZ && /usr/bin/access_wire_ip.sh $ipt) > /var/tmp/reboot-cron-root.log 2>&1" | crontab -u root -
0 commit comments