[GH-ISSUE #4839] mediathekview: program does not work #2789

Open
opened 2026-05-05 09:26:45 -06:00 by gitea-mirror · 8 comments
Owner

Originally created by @Spacewalker2 on GitHub (Jan 7, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4839

Hello,

I added the stuff below to my mediathekview.profile and it started working again.

ignore noexec /tmp

noblacklist ${HOME}/.openjfx
read-only ${HOME}/.openjfx
whitelist ${HOME}/.mediathek3
whitelist ${DOWNLOADS}
Originally created by @Spacewalker2 on GitHub (Jan 7, 2022). Original GitHub issue: https://github.com/netblue30/firejail/issues/4839 Hello, I added the stuff below to my `mediathekview.profile` and it started working again. ``` ignore noexec /tmp noblacklist ${HOME}/.openjfx read-only ${HOME}/.openjfx whitelist ${HOME}/.mediathek3 whitelist ${DOWNLOADS} ```
Author
Owner

@kmk3 commented on GitHub (Jan 7, 2022):

@Spacewalker2 commented on Jan 7:

Hello,

I added the stuff below to my mediathekview.profile and it started working
again.

ignore noexec /tmp

noblacklist ${HOME}/.openjfx
read-only ${HOME}/.openjfx
whitelist ${HOME}/.mediathek3
whitelist ${DOWNLOADS}

Nice. Would you like to open a pull request for that?

I'm not sure about whitelist ${DOWNLOADS}, but the rest seems alright.

<!-- gh-comment-id:1007765965 --> @kmk3 commented on GitHub (Jan 7, 2022): @Spacewalker2 commented [on Jan 7](https://github.com/netblue30/firejail/issues/4839#issue-1096675377): > Hello, > > I added the stuff below to my `mediathekview.profile` and it started working > again. > > ``` > ignore noexec /tmp > > noblacklist ${HOME}/.openjfx > read-only ${HOME}/.openjfx > whitelist ${HOME}/.mediathek3 > whitelist ${DOWNLOADS} > ``` Nice. Would you like to open a pull request for that? I'm not sure about `whitelist ${DOWNLOADS}`, but the rest seems alright.
Author
Owner

@ghost commented on GitHub (Jan 8, 2022):

Odd, we don't blacklist ${HOME}/.openjfx anywhere AFAICT. Is that something you have added to a globals.local or any of the disable-foo.local files?

<!-- gh-comment-id:1007916158 --> @ghost commented on GitHub (Jan 8, 2022): Odd, we don't blacklist ${HOME}/.openjfx anywhere AFAICT. Is that something you have added to a globals.local or any of the disable-foo.local files?
Author
Owner

@Spacewalker2 commented on GitHub (Jan 8, 2022):

You are right. It works without the OpenJFX lines. My fault this was probably a leftover from testing the profile sorry. About whitelist ${DOWNLOADS} your are right this isn't necessary either but I thought since MediathekView is also for downloading stuff having your download folder around couldn't hurt. I would have probably created a pull request in the first place but my branching skill could be more sophisticated. I would give it a try if you want but hopefully I don't create a mess.

I guess this reduces everything to two line then.

ignore noexec /tmp
whitelist ${HOME}/.mediathek3
<!-- gh-comment-id:1007953237 --> @Spacewalker2 commented on GitHub (Jan 8, 2022): You are right. It works without the OpenJFX lines. My fault this was probably a leftover from testing the profile sorry. About `whitelist ${DOWNLOADS}` your are right this isn't necessary either but I thought since MediathekView is also for downloading stuff having your download folder around couldn't hurt. I would have probably created a pull request in the first place but my branching skill could be more sophisticated. I would give it a try if you want but hopefully I don't create a mess. I guess this reduces everything to two line then. ``` ignore noexec /tmp whitelist ${HOME}/.mediathek3 ```
Author
Owner

@ghost commented on GitHub (Jan 8, 2022):

That happens, no poblem. And I personally understand whitelisting ${DOWNLOADS} with an app like this, but that's something you can easily do via mediathekview.local.

I would have probably created a pull request in the first place but my branching skill could be more sophisticated. I would give it a try if you want but hopefully I don't create a mess.

In the end it's up to you offcourse, but it's a chance to learn something new. Use the fork GUI on github, create a new branch like 'mediathekview-fix' using the dropdown and edit mediathekview.profile. When that's done you click the 'pull request' item and it will do its thing. We are always here to help you through this. And you get the credit for the changes :-). Just think about trying it, no need to rush or feel uncomfortable doing this. Thanks for bringing this to our attention, we need users to do so to keep our profiles up-to-snuff!

<!-- gh-comment-id:1007960687 --> @ghost commented on GitHub (Jan 8, 2022): That happens, no poblem. And I personally understand whitelisting ${DOWNLOADS} with an app like this, but that's something you can easily do via mediathekview.local. > I would have probably created a pull request in the first place but my branching skill could be more sophisticated. I would give it a try if you want but hopefully I don't create a mess. In the end it's up to you offcourse, but it's a chance to learn something new. Use the fork GUI on github, create a new branch like 'mediathekview-fix' using the dropdown and edit mediathekview.profile. When that's done you click the 'pull request' item and it will do its thing. We are always here to help you through this. And you get the credit for the changes :-). Just think about trying it, no need to rush or feel uncomfortable doing this. Thanks for bringing this to our attention, we need users to do so to keep our profiles up-to-snuff!
Author
Owner

@Spacewalker2 commented on GitHub (Jan 8, 2022):

Thanks. I didn't even know this is possible direct on GitHub.

<!-- gh-comment-id:1007971562 --> @Spacewalker2 commented on GitHub (Jan 8, 2022): Thanks. I didn't even know this is possible direct on GitHub.
Author
Owner

@ghost commented on GitHub (Jan 8, 2022):

I've just reviewed the PR and added a suggestion. Also, if you could test the other remarks, that would be awesome. We don't meet many users of this profile so it's an opportunity to see if we can harden it some more. I think I added the mediathekview.profile a long time ago and have moved to a non-java app called QMediathekView since (which has a firejail profile too). Just a FYI if you'd want to ever get rid of java apps...

<!-- gh-comment-id:1007987458 --> @ghost commented on GitHub (Jan 8, 2022): I've just reviewed the PR and added a suggestion. Also, if you could test the other remarks, that would be awesome. We don't meet many users of this profile so it's an opportunity to see if we can harden it some more. I think I added the mediathekview.profile a long time ago and have moved to a non-java app called [QMediathekView](https://github.com/adamreichold/QMediathekView) since (which has a firejail profile too). Just a FYI if you'd want to ever get rid of java apps...
Author
Owner

@Spacewalker2 commented on GitHub (Jan 8, 2022):

I will look into the stuff and help with the hardening. At the moment I'm in my work office. I have to deal with this in the evening or on Monday. I rely on the subscription functionality of MediathekView a lot but I think QMediathekView is of some use on other machines. Thanks for the advice!

<!-- gh-comment-id:1007998607 --> @Spacewalker2 commented on GitHub (Jan 8, 2022): I will look into the stuff and help with the hardening. At the moment I'm in my work office. I have to deal with this in the evening or on Monday. I rely on the subscription functionality of MediathekView a lot but I think QMediathekView is of some use on other machines. Thanks for the advice!
Author
Owner

@Spacewalker2 commented on GitHub (Jan 10, 2022):

Sorry I got all your messages but I'm a little bit unsure of what to test exactly. Having the stuff in one message will probably help already.

<!-- gh-comment-id:1008835937 --> @Spacewalker2 commented on GitHub (Jan 10, 2022): Sorry I got all your messages but I'm a little bit unsure of what to test exactly. Having the stuff in one message will probably help already.
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#2789
No description provided.