Skip to content

devcontainer trying to install "/usr/bin/setfacl" under onCreateCommand #133737

@kalikaruto

Description

@kalikaruto

Bug report

Bug description:

I was trying to run devcontainer in vs code locally.
Found a line "/usr/bin/setfacl" in

"onCreateCommand": [
        // Install common tooling.
        "dnf",
        "install",
        "-y",
        "which",
        "zsh",
        "fish",
        // For umask fix below.
        "/usr/bin/setfacl"
    ]

which gave me some errors

/sudo: setfacl: command not found


[241733 ms] umask fix: /tmp of postCreateCommand from devcontainer.json failed with exit code 1. Skipping any further user-provided commands.

sudo: setfacl: command not found


[241734 ms] umask fix: workspace of postCreateCommand from devcontainer.json failed with exit code 1. Skipping any further user-provided commands.
Done. Press any key to close the terminal.

I tried to gpt to know what was wrong, and it suggested me to update "/usr/bin/setfacl" to "acl" and it worked. If this was really an issue (because I don't think we can install using path; if that was intended), can I resolve this issue?

I am a beginner to open source and was trying my hand at CPython; thanks for the documentation for beginners—it is really helpful.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    infraCI, GitHub Actions, buildbots, Dependabot, etc.type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions