Skip to content

Add read/write flags to create subcommand#4

Open
fstachura wants to merge 1 commit intolandlock-lsm:mainfrom
fstachura:specify-paths-on-create
Open

Add read/write flags to create subcommand#4
fstachura wants to merge 1 commit intolandlock-lsm:mainfrom
fstachura:specify-paths-on-create

Conversation

@fstachura
Copy link
Copy Markdown

@fstachura fstachura commented Dec 13, 2025

Flags allow user to specify what directories the profile will have access to. -r adds read and execute permissions (abi.read_execute), -w adds read, write and execute permissions (abi.read_write).

What's obviously missing from this patch is tests and perhaps some documentation, so it's not ready to be merged as-is. I wanted to first make sure that the idea is ok and compatible with design goals of island, that a patch the core cli interface would be welcome etc. etc.

PS. I wanted to make a tool like island for some time already, but I couldn't come up with a design I would be satisfied with. I think a convenient sandbox is a big missing piece of Linux CLI environment, so I'm very happy to see that it's an official project under the Landlock umbrella. :)

Flags allow user to specify what directories the profile will have
access to. -r adds read and execute permissions (abi.read_execute),
-w adds read, write and execute permissions (abi.read_write).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant