Skip to content

👀#695

Merged
ivan-hc merged 5 commits intoivan-hc:devfrom
Samueru-sama:dev
Jun 21, 2024
Merged

👀#695
ivan-hc merged 5 commits intoivan-hc:devfrom
Samueru-sama:dev

Conversation

@Samueru-sama
Copy link
Contributor

@Samueru-sama Samueru-sama commented Jun 21, 2024

  • Now sandboxes asks if you want to configure access to directories, By default hitting enter without anything will say Yes, but if you say no it will skip the several questions for each directory, essentially denying the access to them.

Very useful for when you want to sandbox a CLI appliation that often doesn't need access to any of these directories.

image

  • Added ~/Desktop and ~/Games to the list of directories.

XDG_GAMES_DIR is technically not part of the spec but it is commonly used and requested. And aisap has ~/Games as a common rule as well, so with this method we can't deny it if the user wants to.

I actually had a ~/Games directory before I discovered aisap lol.

  • Added to option to allow a specified directory

image

I also tested this with both bash and dash as sh so I don't run into another surprise.

I may later add a check that prints a big warning if the user gives access to a spooky location 😆

EDIT: Done!

@Samueru-sama
Copy link
Contributor Author

Also I forgot, I updated the nvtop script thinking that was the issue at #688

Threw it here anyway lol

@ivan-hc ivan-hc merged commit 1862d08 into ivan-hc:dev Jun 21, 2024
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.

2 participants