Explorar el Código

chown the user config directory

Bob Mottram hace 8 años
padre
commit
e9583d155e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/freedombone-app-ipfs

+ 1
- 1
src/freedombone-app-ipfs Ver fichero

434
     echo '' >> $IPFS_USER_DAEMON
434
     echo '' >> $IPFS_USER_DAEMON
435
     echo '[Install]' >> $IPFS_USER_DAEMON
435
     echo '[Install]' >> $IPFS_USER_DAEMON
436
     echo 'WantedBy=default.target' >> $IPFS_USER_DAEMON
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
     chroot ${rootdir} systemctl --user enable ipfs
439
     chroot ${rootdir} systemctl --user enable ipfs
440
 }
440
 }