chown the user config directory

This commit is contained in:
Bob Mottram 2016-09-03 17:06:52 +01:00
parent 766502e1e2
commit e9583d155e
1 changed files with 1 additions and 1 deletions

View File

@ -434,7 +434,7 @@ function mesh_install_ipfs_go {
echo '' >> $IPFS_USER_DAEMON echo '' >> $IPFS_USER_DAEMON
echo '[Install]' >> $IPFS_USER_DAEMON echo '[Install]' >> $IPFS_USER_DAEMON
echo 'WantedBy=default.target' >> $IPFS_USER_DAEMON echo 'WantedBy=default.target' >> $IPFS_USER_DAEMON
chroot ${rootdir} chown $MY_USERNAME:$MY_USERNAME /home/${MY_USERNAME}/.config/systemd/user/ipfs.service chroot ${rootdir} chown -R $MY_USERNAME:$MY_USERNAME /home/${MY_USERNAME}/.config
chroot ${rootdir} systemctl --user enable ipfs chroot ${rootdir} systemctl --user enable ipfs
} }