mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3081] notrash option #1934
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#1934
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rusty-snake on GitHub (Dec 15, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3081
current situation
Access to the user trash is blocked by an blacklist in disable-common.
f55239b7a1/etc/disable-common.inc (L8)suggested change
Replacing the
firejail --noblacklist=${HOME}/.local/share/Trash APPworkflow which is quite unhandy for new users withfirejail --ignore=notrash APPwhich is easier to find out.The new option can be placed between
nosoundandnotv.reasons
Blocking access to trash by default is good since there can be files from anywhere, but sometimes you want. The it is easier to see that there is a
notrashoption in a profile which can be commented orignored instead of diving into aincluded profile and search for the blacklist command.@netblue30 commented on GitHub (Dec 15, 2019):
Let's go for it, I'll put the code in.
@rusty-snake commented on GitHub (Jun 8, 2020):