Permission on monkeysphere ids
This commit is contained in:
parent
afb9db2d39
commit
1619659805
|
@ -5373,6 +5373,7 @@ function install_monkeysphere {
|
||||||
mkdir /home/$MY_USERNAME/.monkeysphere
|
mkdir /home/$MY_USERNAME/.monkeysphere
|
||||||
chmod 755 /home/$MY_USERNAME/.monkeysphere
|
chmod 755 /home/$MY_USERNAME/.monkeysphere
|
||||||
echo "$MY_USERNAME <${MY_EMAIL_ADDRESS}>" > /home/$MY_USERNAME/.monkeysphere/authorized_user_ids
|
echo "$MY_USERNAME <${MY_EMAIL_ADDRESS}>" > /home/$MY_USERNAME/.monkeysphere/authorized_user_ids
|
||||||
|
chmod 644 /home/$MY_USERNAME/.monkeysphere/authorized_user_ids
|
||||||
chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.monkeysphere
|
chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.monkeysphere
|
||||||
|
|
||||||
echo 'install_monkeysphere' >> $COMPLETION_FILE
|
echo 'install_monkeysphere' >> $COMPLETION_FILE
|
||||||
|
|
|
@ -144,6 +144,7 @@ su -c "monkeysphere gen-subkey $MY_GPG_PUBLIC_KEY_ID" - $MY_USERNAME
|
||||||
mkdir /home/$MY_USERNAME/.monkeysphere
|
mkdir /home/$MY_USERNAME/.monkeysphere
|
||||||
chmod 755 /home/$MY_USERNAME/.monkeysphere
|
chmod 755 /home/$MY_USERNAME/.monkeysphere
|
||||||
echo "$MY_USERNAME <${$MY_USERNAME@$HOSTNAME}>" > /home/$MY_USERNAME/.monkeysphere/authorized_user_ids
|
echo "$MY_USERNAME <${$MY_USERNAME@$HOSTNAME}>" > /home/$MY_USERNAME/.monkeysphere/authorized_user_ids
|
||||||
|
chmod 644 /home/$MY_USERNAME/.monkeysphere/authorized_user_ids
|
||||||
chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.monkeysphere
|
chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.monkeysphere
|
||||||
|
|
||||||
if [ -f /home/$MY_USERNAME/.muttrc ]; then
|
if [ -f /home/$MY_USERNAME/.muttrc ]; then
|
||||||
|
|
Loading…
Reference in New Issue