mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3173] Directory read-only even after noblacklist/whitelist #1989
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#1989
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 @q3cpma on GitHub (Jan 20, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3173
Hello,
I'm trying to use emacs in qutebrowser, and to that end, I call qutebrowser that way:
Everything works well until I try to close emacs, where it tells me that
~/.emacs.d/historyis read-only. Using an eshell, I can't even touch a file inside~/.emacs.d(I get/usr/bin/touch: cannot touch 'a': Read-only file system), but I can in my HOME. I tried adding a--read-write=~/.emacs.dto no avail.What is even stranger is that
~/.config/mpvisn't RO.This is on Gentoo with firejail 0.9.62
@reinerh commented on GitHub (Jan 20, 2020):
The qutebrowser profile includes disable-common.inc, which has this line:
Does it work if you call it with
--ignore='read-only ${HOME}/.emacs.d'?@q3cpma commented on GitHub (Jan 20, 2020):
It does, thanks. Strange that I was the first to be hit by this.
@reinerh commented on GitHub (Jan 20, 2020):
I can imagine the number of users of qutebrowser AND emacs AND firejail is quite small. :-)
@q3cpma commented on GitHub (Jan 20, 2020):
Well, it work on the command line, but not in the profile. And ideally, I don't want the history to be overwritten, but I don't know how to do it.
@reinerh commented on GitHub (Jan 20, 2020):
Adding
ignore read-only ${HOME}/.emacs.dinto the profile does not work?@rusty-snake commented on GitHub (Jan 20, 2020):
Adding
ignore read-only ${HOME}/.emacs.dbeforeread-only ${HOME}/.emacs.dorread-write ${HOME}/.emacs.dafterread-only ${HOME}/.emacs.din the profile works.To get this ordering on the command line you need to use
--profile:@q3cpma commented on GitHub (Jan 20, 2020):
Indeed, it works well, but my original goal was to make it read-write while not merging back the changes. Something like --private for ~/.emacs.d, basically.
For now, I can live with a shared history, though.
@rusty-snake commented on GitHub (Jan 20, 2020):
Maybe emacs supports it to places the history file in a temp-dir such as
/tmp(withprivate-tmp) or~/.cache(withprivate-cache).@rusty-snake commented on GitHub (Feb 10, 2020):
I'm closing here due to inactivity, please fell free to reopen if you have more questions.