Skip to content

/mnt/lima-cidata should not need mode=0700,dmode=0700,overriderockperm,uid=0 #4593

@AkihiroSuda

Description

@AkihiroSuda

LIMA_CIDATA_MNT="/mnt/lima-cidata"
LIMA_CIDATA_DEV="/dev/disk/by-label/cidata"
mkdir -p -m 700 "${LIMA_CIDATA_MNT}"
mount -o ro,mode=0700,dmode=0700,overriderockperm,exec,uid=0 "${LIMA_CIDATA_DEV}" "${LIMA_CIDATA_MNT}"

(Introduced in 8c75ebd)

Why do we have mode=0700,dmode=0700,overriderockperm,uid=0 here?
Is there anything we have to hide from non-root?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions