pmbootstrap/pmb
Oliver Smith 4d8afc4aa5
Fix: /var/cache/distfiles writable by everyone (#1329)
As noted in commit 255c715624
`/var/cache/distfiles` is writable by everyone. It is supposed to be
writable only by `root` and by the `abuild` group (in which we put the
`pmos` user already for building packages).

Changes:
* `pmb.build.init()`: make `/var/cache/distfiles` writable only by
  members of the `abuild` group (and root)
* Increase workfolder version to 2
* Add migration code that fixes the permissions for existing work
  folders
* Refactor the migration code a bit to make this possible
2018-03-30 21:46:31 +00:00
..
aportgen Fix aportgen without initializing buildenv 2018-03-12 17:17:32 +01:00
build Fix: /var/cache/distfiles writable by everyone (#1329) 2018-03-30 21:46:31 +00:00
chroot aportgen: Gracefully handle old aports_upstream (#1291) 2018-03-11 14:18:21 +00:00
config Fix: /var/cache/distfiles writable by everyone (#1329) 2018-03-30 21:46:31 +00:00
export "...flasher flash_rootfs" instead of "..._system" (#1373) 2018-03-30 01:11:20 +00:00
flasher "...flasher flash_rootfs" instead of "..._system" (#1373) 2018-03-30 01:11:20 +00:00
helpers Fix: /var/cache/distfiles writable by everyone (#1329) 2018-03-30 21:46:31 +00:00
install "...flasher flash_rootfs" instead of "..._system" (#1373) 2018-03-30 01:11:20 +00:00
parse "...flasher flash_rootfs" instead of "..._system" (#1373) 2018-03-30 01:11:20 +00:00
qemu qemu: allow the user to specify the kernel flavor (#1256) 2018-02-25 19:20:22 +00:00
__init__.py pmbootstrap: Disallow running as root (#1120) 2018-01-14 08:13:35 +00:00