stage2: permissions on / being changed to 711 #1703
Comments
To see this issue in action, here's an acbuild script: Run the resulting ACI, |
To be clear, here the |
I just happened across a far easier test for this, writing it down for posterity.
will produce:
workaround:
|
The incorrect permission 711 comes from the archive:
I think the archive is incorrect and the The acbuild script uses the same @eyakubovich: do you know how that |
The image generated by docker2aci has 755:
And Docker images don't have information about the permissions of
So I guess that 711 comes from quay.io. |
FTR, the 755 of docker2aci is hardcoded. |
After looking more closely I agree that rkt appears to be fine, the image coming from quay is just wonky. Nevermind. |
rkt appears to be changing the permissions of the ACI's
/
directory to 711, which breaks things like apache:If the exec command for the ACI includes
/bin/bash -c "chmod 755 / && ..."
then apache works. I believe rkt should keep the permissions on/
set to whatever they were in the ACI.The text was updated successfully, but these errors were encountered: