commit 194a5b110fd489992255af0dfd23428f02a3b2a7 parent 9ed0fb77e580616f2bfb38fc01a3e7a3dfb8bfe8 Author: Antoine Amarilli <a3nm@a3nm.net> Date: Tue, 20 Oct 2015 01:29:17 +0200 args Diffstat:
electrum | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/electrum b/electrum @@ -1,4 +1,6 @@ #!/bin/bash -exec sudo sudo -u bitcoin sh -c "umask 002; exec electrum $@" +set -x +ARGS="$@" +exec sudo -u bitcoin sh -c "umask 007; electrum $ARGS ; chmod -R og+r ~bitcoin/.electrum"