junest
junest copied to clipboard
Install error: Permission denied when extracting base image
Hey there, I am trying to install this on a fresh Alpine Linux installation within VirtualBox. I used the method one to put junest bin into my path and then simply did junest
to create filesystem in .junest. While extracting image downloaded, tar gives following error. When I checked directory cadir
afterwards, it has 655 permissions I think. Should that be 755 ?
I was expecting chroot issues etc with grsec kernel but I think this error is not there because of Alpine Linux.
I think it should be related to how JuNest extract the content of the image via tar
command which might conflict with Alpine permissions:
https://github.com/fsquillace/junest/blob/master/lib/core/setup.sh#L54
Can you experiment with different tar
options? Can you try to extract the image without -p
option?
The image can be downloaded from the aws url link.
I deleted .junest folder first and downloaded image. Tried tar -zxf junest-x86_64.tar.gz -C ~/.junest
and got same result.
There must be permissions in the certificate of the image that can not be dealt by Alpine.
Can you try to extract all the files except the certificates that gives you trouble? Also bear in mind that some certificate are still important for installing/updating the packages.