Browse Source

Fixed /root/.gnupg permissions in hst-install-ubuntu.sh (#2384)

* Fixed /root/.gnupg permissions 
* added -p to mkdir /root/.gnupg/
Gerardo 4 years ago
parent
commit
fad19a6aa0
1 changed files with 3 additions and 0 deletions
  1. 3 0
      install/hst-install-ubuntu.sh

+ 3 - 0
install/hst-install-ubuntu.sh

@@ -662,6 +662,9 @@ fi
 # Define apt conf location
 apt=/etc/apt/sources.list.d
 
+# Create new folder if not all-ready exists
+mkdir -p /root/.gnupg/ && chmod 700 /root/.gnupg/
+
 # Updating system
 echo "Adding required repositories to proceed with installation:"
 echo