Skip to content

Commit 4db3b44

Browse files
authored
Restrict mode of test script (#2634)
Co-authored-by: narrieta <narrieta>
1 parent 71edfe3 commit 4db3b44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • dcr/scenarios/agent-persist-firewall

dcr/scenarios/agent-persist-firewall/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ipt=$(which iptables)
99
username="dcr"
1010
script_dir=$(dirname "$0")
1111
cp "$script_dir/access_wire_ip.sh" "/usr/bin/"
12-
chmod 777 "/usr/bin/access_wire_ip.sh"
12+
chmod 700 "/usr/bin/access_wire_ip.sh"
1313
mkdir -p /home/$username || echo "this is only needed for Suse VMs for running cron jobs as non-root"
1414
# Setup Cron jobs
1515
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

Comments
 (0)