threefoldtech / 0-hub

Threefold Images Hub
https://hub.grid.tf
Apache License 2.0
1 stars 1 forks source link

wrong permission on / when doing docker conversion #27

Closed zaibon closed 4 years ago

zaibon commented 4 years ago

I seems that when converting a docker image into an flist, the permission of the root (/) directory is set to rwx------. I think this is a mistake root directory should be traversalable for everyone so a more logical permission would be rwx--x--x.

I've had some flist that were not behaving properly because of this. After a chmod 755 / things went back to working ok.

Can we change the hub or zflist I don't know which one to use the proper permission ?

maxux commented 4 years ago

I can confirm it's a 0-flist (zflist / libflist) issue. Not a hub related issue or 0-fs issue. But this bug impact the hub for underlying layer.

maxux commented 4 years ago

Correction, this is actually maybe a hub issue. Hub still use old version of zflist which doesn't contains all latest fixes. I update flist module and zflist on playground.

maxux commented 4 years ago

Potential fix deployed on playground

maxux commented 4 years ago

Everything is live in production.