Browse Source

Permissions on the gragments directory

Bob Mottram 7 years ago
parent
commit
6830c8335d
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/freedombone-splitkey

+ 1
- 0
src/freedombone-splitkey View File

@@ -134,6 +134,7 @@ fi
134 134
 
135 135
 # create the key file
136 136
 mkdir -p $FRAGMENTS_DIR
137
+chown $MY_USERNAME:$MY_USERNAME $FRAGMENTS_DIR
137 138
 KEYS_FILE=$FRAGMENTS_DIR/keyshare.asc
138 139
 gpg --output $FRAGMENTS_DIR/pubkey.txt --armor --export $KEYID
139 140
 if [ ! "$?" = "0" ]; then