[GH-ISSUE #1513] [Spotify] Blacklisting too restrictive - firejail 0.9.48 #1009

Closed
opened 2026-05-05 07:18:16 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @ghost on GitHub (Sep 1, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1513

Hi, spotify version 1.0.49.125 on ArchLinux with firejail 0.9.48 would not start and I got
/usr/bin/spotify: line 2: /opt/spotify/spotify: Permission denied

commenting out blacklist /opt and appending a whitelist /opt/spotify to a local ~/.config/firejail/spotify.profile did the trick.

Originally created by @ghost on GitHub (Sep 1, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1513 Hi, spotify version 1.0.49.125 on ArchLinux with firejail 0.9.48 would not start and I got `/usr/bin/spotify: line 2: /opt/spotify/spotify: Permission denied` commenting out `blacklist /opt` and appending a `whitelist /opt/spotify` to a local `~/.config/firejail/spotify.profile` did the trick.
Author
Owner

@reinerh commented on GitHub (Sep 1, 2017):

How did you install spotify (why did it land in /opt)?
If I understand it correctly, the AUR build installs it "normally" in /usr.

<!-- gh-comment-id:326544980 --> @reinerh commented on GitHub (Sep 1, 2017): How did you install spotify (why did it land in /opt)? If I understand it correctly, the [AUR build](https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=spotify) installs it "normally" in /usr.
Author
Owner

@ghost commented on GitHub (Sep 1, 2017):

I think @johnfocker is using this package: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=spotify-stable which installs spotify to /opt

I don't know if this is a general issue as users can install binary to any location they want and adjust that in local profiles.

<!-- gh-comment-id:326580603 --> @ghost commented on GitHub (Sep 1, 2017): I think @johnfocker is using this package: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=spotify-stable which installs spotify to `/opt` I don't know if this is a general issue as users can install binary to any location they want and adjust that in local profiles.
Author
Owner

@ghost commented on GitHub (Sep 2, 2017):

Woops my bad. I was indeed using "spotify-stable" instead of the regular "spotify" also in the AUR, which in turn doesn't install to /opt as you mentionned @VladimirSchowalter20
Now using only the default profile and it works like a charm.
Thanks for all the good work guys.

<!-- gh-comment-id:326737317 --> @ghost commented on GitHub (Sep 2, 2017): Woops my bad. I was indeed using "spotify-stable" instead of the regular "spotify" also in the AUR, which in turn doesn't install to `/opt` as you mentionned @VladimirSchowalter20 Now using only the default profile and it works like a charm. Thanks for all the good work guys.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#1009
No description provided.