[GH-ISSUE #2378] firejail 0.9.58 and youtube-dl issue #1587

Closed
opened 2026-05-05 08:14:30 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @martywd on GitHub (Jan 29, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2378

OS: Linux Mint 19.1 MATE 64-bit
youtube-dl v. 2019.01.27
upgrading firejail from 0.9.56 > 0.9.58

After downloading and installing 'firejail-apparmor_0.9.58_1_amd64.deb' from sourceforge, the 'firejail youtube-dl' <.....> command yields the follow errors:

~ $ firejail youtube-dl --help
Error: execute permission denied for /home/marty/bin/youtube-dl
Error: no suitable youtube-dl executable found
~ $ firejail youtube-dl --version
Error: execute permission denied for /home/marty/bin/youtube-dl
Error: no suitable youtube-dl executable found

Permissions for 'youtube-dl':

-rwx------ 1 marty marty 1733727 Jan 28 14:43 /home/marty/bin/youtube-dl

Purged the 'firejail-apparmor' install and installed 'firejail_0.9.58~rc1_1_amd64.deb'. No change, same errors when attempting to use 'youtube-dl' with firejail* 0.9.58.

Reverted back to 'firejail_0.9.56_1_amd64.deb' and now the 'firejail youtube-dl' command functions without errors once again.
.

Originally created by @martywd on GitHub (Jan 29, 2019). Original GitHub issue: https://github.com/netblue30/firejail/issues/2378 OS: Linux Mint 19.1 MATE 64-bit youtube-dl v. 2019.01.27 upgrading firejail from 0.9.56 > 0.9.58 After downloading and installing 'firejail-apparmor_0.9.58_1_amd64.deb' from sourceforge, the 'firejail youtube-dl' <.....> command yields the follow errors: > ~ $ firejail youtube-dl --help > Error: execute permission denied for /home/marty/bin/youtube-dl > Error: no suitable youtube-dl executable found > ~ $ firejail youtube-dl --version > Error: execute permission denied for /home/marty/bin/youtube-dl > Error: no suitable youtube-dl executable found Permissions for 'youtube-dl': > -rwx------ 1 marty marty 1733727 Jan 28 14:43 /home/marty/bin/youtube-dl Purged the 'firejail-apparmor' install and installed 'firejail_0.9.58~rc1_1_amd64.deb'. No change, same errors when attempting to use 'youtube-dl' with firejail* 0.9.58. Reverted back to 'firejail_0.9.56_1_amd64.deb' and now the 'firejail youtube-dl' command functions **_without_** errors once again. .
Author
Owner

@SkewedZeppelin commented on GitHub (Jan 29, 2019):

Please try
firejail --ignore='noexec ${HOME}' /home/marty/bin/youtube-dl

noexec before 0.9.58 didn't recursively apply to paths, allowing programs in ~ for example to run when they shouldn't of
see: a7164cb381 and #2375

<!-- gh-comment-id:458378229 --> @SkewedZeppelin commented on GitHub (Jan 29, 2019): Please try `firejail --ignore='noexec ${HOME}' /home/marty/bin/youtube-dl` noexec before 0.9.58 didn't recursively apply to paths, allowing programs in ~ for example to run when they shouldn't of see: a7164cb38171c0291fac7f3a0767fe8f1c69b02d and #2375
Author
Owner

@martywd commented on GitHub (Jan 29, 2019):

Please try
firejail --ignore='noexec ${HOME}' /home/marty/bin/youtube-dl

Yes that command works for me from the command line. Actually,

firejail --ignore='noexec ${HOME}' youtube-dl

works as well. Thanks for the tip!

noexec before 0.9.58 didn't recursively apply to paths, allowing programs in ~ for example to run when they shouldn't of
see: a7164cb and #2375

I'll check those links out, thanks again.

Now to figure out how to enter this 'ignore' into ~/.config/firejail/youtube-dl.profile' so I don't have to add the above switch all the time?

.

<!-- gh-comment-id:458387402 --> @martywd commented on GitHub (Jan 29, 2019): > Please try > `firejail --ignore='noexec ${HOME}' /home/marty/bin/youtube-dl` > **Yes** that command works for me from the command line. Actually, > `firejail --ignore='noexec ${HOME}' youtube-dl` > works as well. Thanks for the tip! > noexec before 0.9.58 didn't recursively apply to paths, allowing programs in ~ for example to run when they shouldn't of > see: [a7164cb](https://github.com/netblue30/firejail/commit/a7164cb38171c0291fac7f3a0767fe8f1c69b02d) and #2375 I'll check those links out, thanks again. Now to figure out _how_ to enter this 'ignore' into ~/.config/firejail/youtube-dl.profile' so I don't have to add the above switch all the time? .
Author
Owner

@SkewedZeppelin commented on GitHub (Jan 29, 2019):

echo 'ignore noexec ${HOME}' > ~/.config/firejail/youtube-dl.local
should work

<!-- gh-comment-id:458388336 --> @SkewedZeppelin commented on GitHub (Jan 29, 2019): `echo 'ignore noexec ${HOME}' > ~/.config/firejail/youtube-dl.local` should work
Author
Owner

@martywd commented on GitHub (Jan 29, 2019):

echo 'ignore noexec ${HOME}' > ~/.config/firejail/youtube-dl.local
should work

Yup, that works. Thank you again!
.

<!-- gh-comment-id:458394861 --> @martywd commented on GitHub (Jan 29, 2019): > `echo 'ignore noexec ${HOME}' > ~/.config/firejail/youtube-dl.local` > should work Yup, that works. Thank you again! .
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#1587
No description provided.