Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 24, 2020. It is now read-only.
This repository was archived by the owner on Feb 24, 2020. It is now read-only.

--no-overlayfs changes the permissions of the rootfs #1581

@alban

Description

@alban

stage2's rootfs has the rights drwxr-xr-x when overlay fs is not used:

$ sudo build-rkt-0.8.1+git/bin/rkt --debug --insecure-skip-verify \
    run --mds-register=false --no-overlay docker://busybox \
    --exec /bin/sh -- -c 'ls -ld /' 2>&1 | grep drwx
sh[4]: drwxr-xr-x   12 root     root          4096 Oct  9 15:13 /

But when overlay fs is used, it has the rights drwxr-x---:

$ sudo build-rkt-0.8.1+git/bin/rkt --debug --insecure-skip-verify \
    run --mds-register=false docker://busybox \
    --exec /bin/sh -- -c 'ls -ld /' 2>&1 | grep drwx
sh[4]: drwxr-x---    1 root     root          4096 Oct  9 15:13 /

--no-overlayfs should be an implementation detail and should not influence the permission of stage2's directories.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions