Public bug reported: using a qemu image I recently noticed that there is a /root/snap/pc dir on the system ... the pc gadget ships an empty no-op configure hook that apparently gets run during seeding.
since snapd knows what a gadget is, it would be nice if gadget hooks could by default made to only write to $SNAP_DATA instead of $SNAP_USER_DATA so the dir does not get created in the /root homedir. this is indeed purely cosmetic and low prio ... ** Affects: snapd (Ubuntu) Importance: Undecided Status: New ** Summary changed: - gadget hooks should not write to /root/snap + gadget hooks should not write to /root/snap by default -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1866058 Title: gadget hooks should not write to /root/snap by default To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1866058/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs