From 9749cb43ce0d54373d78d647e67dd6c619cc0a6a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 29 Nov 2016 21:17:52 +0000 Subject: [PATCH] sudo permissions --- src/freedombone-utils-setup | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/freedombone-utils-setup b/src/freedombone-utils-setup index 15a82974..718c4339 100755 --- a/src/freedombone-utils-setup +++ b/src/freedombone-utils-setup @@ -435,6 +435,20 @@ function set_command_file_permissions { if [ -d /usr/local/sbin ]; then chown root:root /usr/local/sbin/* fi + chmod 4755 /usr/bin/sudo + + if [ -d /lib ]; then + chown -R root:root /lib/* + fi + if [ -d /lib64 ]; then + chown -R root:root /lib64/* + fi + if [ -d /usr/lib ]; then + chown -R root:root /usr/lib/* + fi + if [ -d /usr/lib64 ]; then + chown -R root:root /usr/lib64/* + fi } function setup_firewall {