Bläddra i källkod

chown the user config directory

Bob Mottram 8 år sedan
förälder
incheckning
e9583d155e
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      src/freedombone-app-ipfs

+ 1
- 1
src/freedombone-app-ipfs Visa fil

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