Package: fai-doc
Version: 5.3.4

repro steps:
Run recent stretch
mk-basefile -J STRETCH64
dtrx -n STRETCH64.tar.xz
ls -lad STRETCH64

expected:
755 permissions

actual:
700 permissions

Doing a fai install with the 700 basefile results in / having 700
permissions after the install which breaks various things.

As a workaround, I added a line to mk-basefile: "chmod 755 $xtmp" after
$xtmp was created, which seems to work fine. If this fix was used in the
upstream script, it should probably create a directory under the current
$xtmp and make that directory be 755 and have debootstrap target that,
so that it has the same 700 permissions in it's parent while it is being 
created.

Related package versions I'm using:

Package: debootstrap
Version: 1.0.87

Package: tar
Version: 1.29b-1.1

Reply via email to