pmbootstrap/pmb/build
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
..
__init__.py Wrap Alpine's newapkbuild (#894) 2018-01-15 22:00:11 +00:00
_package.py Properly escape commands in pmb.chroot.user() (#1316) 2018-03-10 22:58:39 +00:00
autodetect.py Always prefer native/device arch when building (#1277) 2018-03-01 20:04:51 +00:00
checksum.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
init.py Fix: /var/cache/distfiles writable by everyone (#1329) 2018-03-30 21:46:31 +00:00
menuconfig.py Properly escape commands in pmb.chroot.user() (#1316) 2018-03-10 22:58:39 +00:00
newapkbuild.py pmbootstrap newapkbuild: Properly parse arguments (#1320) 2018-03-15 21:42:34 +00:00
other.py Properly escape commands in pmb.chroot.user() (#1316) 2018-03-10 22:58:39 +00:00
qemu_workaround_aarch64.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00