Container initialization changes top directory permissions to 'rwx------' #154
Labels
bug
Something isn't working
impact: low
impact: some users affected
severity: minor
severity: loss of minor functionality
When investigating https://github.com/golemfactory/yagna-sdk-team/issues/205 we found out that
ya-runtime-vm
container instillation creates top directory with set permissions ignoring ones in provided image.Exact line to be responsible per @prekucki: https://github.com/golemfactory/ya-runtime-vm/blob/master/runtime/init-container/src/init.c#L1677
Having a
nginx-latest-cd6d7a1750.gvmi
gvmi image:Will output proper permissions (same as original docker image permissions)
drwxr-xr-x 22 root root 409 lut 8 12:18 . ...
But using the same image in
ya-runtime-vm
causes permisons to changeoutputs
The same behavior was observe running given image as payload in
dapp-runner
. dApp-runner payloads examples: https://github.com/golemfactory/dapp-experiments/pull/10/filesThe text was updated successfully, but these errors were encountered: