mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #298] [spotify] When never run without being firejailed, “remember me” doesn't work (directories under $HOME on whitelist cannot be created when not existent) #208
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#208
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 @blipp on GitHub (Feb 15, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/298
The Spotify profile includes the following whitelist entries:
The first for example is needed to save user credentials when using the “remember me” function. However, if Spotify was never started without being firejailed, those directories don't exist and wont/can't be created. As a result, Spotify can't remember my user (and probably other stuff under the hood because of the other two directories).
Workaround: I created those directories manually. Now “remember me” works.
Any ideas how to solve this in general? (I would like to avoid “run it once without Firejail”, because of security reasons)
@blipp commented on GitHub (Feb 15, 2016):
Maybe something like, just as a quick idea, without knowing the internals good enough: if a directory is whitelisted, the process should be allowed to create it persistently?
@netblue30 commented on GitHub (Feb 16, 2016):
I'll bring in a new command (mkdir) in profile files that will create the necessary directories.
@blipp commented on GitHub (Feb 16, 2016):
Thanks!
@netblue30 commented on GitHub (Feb 20, 2016):
Fixed! I've also included mkdir in all whitelisting profiles.