浏览代码

Permissions on the gragments directory

Bob Mottram 7 年前
父节点
当前提交
6830c8335d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      src/freedombone-splitkey

+ 1
- 0
src/freedombone-splitkey 查看文件

@@ -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