Browse Source

Change to 755, fixes #176

ffdfgdfg 5 years ago
parent
commit
7178b33807
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/install/install.go

+ 2 - 2
lib/install/install.go

@@ -33,11 +33,11 @@ func InstallNps() {
 			if _, err := copyFile(filepath.Join(common.GetAppPath(), "nps"), "/usr/local/bin/nps"); err != nil {
 				log.Fatalln(err)
 			} else {
-				os.Chmod("/usr/local/bin/nps", 0777)
+				os.Chmod("/usr/local/bin/nps", 0755)
 				log.Println("Executable files have been copied to", "/usr/local/bin/nps")
 			}
 		} else {
-			os.Chmod("/usr/bin/nps", 0777)
+			os.Chmod("/usr/bin/nps", 0755)
 			log.Println("Executable files have been copied to", "/usr/bin/nps")
 		}