about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorlogin (tilde.temm) <login@tilde.team>2021-10-18 06:16:03 +0000
committerlogin (tilde.temm) <login@tilde.team>2021-10-18 06:16:03 +0000
commitb9dbe4b703bfbac90b316577220850b6bb7d3400 (patch)
treeb8b94447d47341e2ba772eed8396d5aaf5baae30
parentb0de38eafe7fe897f907066dc1ef923073690d5d (diff)
downloadtcoin-b9dbe4b703bfbac90b316577220850b6bb7d3400.tar.gz
Fixes to permissions set by ntcoin
ntcoin creates a new tcoin directory structure, and copies relevant files. Some permissions were set wrongly by ntcoin and its variants. Those have been fixed now.
-rw-r--r--.ntcoin_freebsd_tildeguru.swpbin1024 -> 0 bytes
-rwxr-xr-xntcoin4
-rwxr-xr-xntcoin_freebsd_tildeguru6
-rwxr-xr-xntcoin_openbsd_tildeinstitute4
4 files changed, 7 insertions, 7 deletions
diff --git a/.ntcoin_freebsd_tildeguru.swp b/.ntcoin_freebsd_tildeguru.swp
deleted file mode 100644
index 5fcf255..0000000
--- a/.ntcoin_freebsd_tildeguru.swp
+++ /dev/null
Binary files differdiff --git a/ntcoin b/ntcoin
index 0b87c2f..8c60951 100755
--- a/ntcoin
+++ b/ntcoin
@@ -152,7 +152,7 @@ else
       exit 1
     else
       /bin/cp ./popen2.c "`/usr/bin/realpath -s $1`/tcoin/bin/popen2.c"
-      /bin/chmod 500 "`/usr/bin/realpath -s $1`/tcoin/bin/popen2.c"
+      /bin/chmod 440 "`/usr/bin/realpath -s $1`/tcoin/bin/popen2.c"
     fi
     if [ -e "`/usr/bin/realpath -s $1`/tcoin/bin/popen2.h" ]
     then
@@ -160,7 +160,7 @@ else
       exit 1
     else
       /bin/cp ./popen2.h "`/usr/bin/realpath -s $1`/tcoin/bin/popen2.h"
-      /bin/chmod 500 "`/usr/bin/realpath -s $1`/tcoin/bin/popen2.h"
+      /bin/chmod 440 "`/usr/bin/realpath -s $1`/tcoin/bin/popen2.h"
     fi
     if [ -e "`/usr/bin/realpath -s $1`/tcoin/bin/tcoin_defs.cpp" ]
     then
diff --git a/ntcoin_freebsd_tildeguru b/ntcoin_freebsd_tildeguru
index 24e425e..0f5ef1a 100755
--- a/ntcoin_freebsd_tildeguru
+++ b/ntcoin_freebsd_tildeguru
@@ -153,15 +153,15 @@ else
       exit 1
     else
       /bin/cp ./popen2.c "`/bin/realpath -q $1`/tcoin/bin/popen2.c"
-      /bin/chmod 500 "`/bin/realpath -q $1`/tcoin/bin/popen2.c"
+      /bin/chmod 440 "`/bin/realpath -q $1`/tcoin/bin/popen2.c"
     fi
     if [ -e "`/bin/realpath -q $1`/tcoin/bin/popen2.h" ]
     then
       /bin/echo "Sorry, '`/bin/realpath -q $1`/tcoin/bin/popen2.h' already exists."
       exit 1
     else
-      /bin/cp ./scrypt_freebsd "`/bin/realpath -q $1`/tcoin/bin/popen2.h"
-      /bin/chmod 500 "`/bin/realpath -q $1`/tcoin/bin/popen2.h"
+      /bin/cp ./popen2.h "`/bin/realpath -q $1`/tcoin/bin/popen2.h"
+      /bin/chmod 440 "`/bin/realpath -q $1`/tcoin/bin/popen2.h"
     fi
     if [ -e "`/bin/realpath -q $1`/tcoin/bin/tcoin_defs.cpp" ]
     then
diff --git a/ntcoin_openbsd_tildeinstitute b/ntcoin_openbsd_tildeinstitute
index aae37d0..b0f51cb 100755
--- a/ntcoin_openbsd_tildeinstitute
+++ b/ntcoin_openbsd_tildeinstitute
@@ -153,7 +153,7 @@ else
       exit 1
     else
       /bin/cp ./popen2.c "`/usr/local/bin/grealpath -s $1`/tcoin/bin/popen2.c"
-      /bin/chmod 500 "`/usr/local/bin/grealpath -s $1`/tcoin/bin/popen2.c"
+      /bin/chmod 440 "`/usr/local/bin/grealpath -s $1`/tcoin/bin/popen2.c"
     fi
     if [ -e "`/usr/local/bin/grealpath -s $1`/tcoin/bin/popen2.h" ]
     then
@@ -161,7 +161,7 @@ else
       exit 1
     else
       /bin/cp ./popen2.h "`/usr/local/bin/grealpath -s $1`/tcoin/bin/popen2.h"
-      /bin/chmod 500 "`/usr/local/bin/grealpath -s $1`/tcoin/bin/popen2.h"
+      /bin/chmod 440 "`/usr/local/bin/grealpath -s $1`/tcoin/bin/popen2.h"
     fi
     if [ -e "`/usr/local/bin/grealpath -s $1`/tcoin/bin/tcoin_defs.cpp" ]
     then