[GH-ISSUE #301] Question: How do I launch a local command in user home when --private is used? #210

Closed
opened 2026-05-05 05:19:41 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @fourzerofour on GitHub (Feb 17, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/301

I was getting "No such file or directory" when I launched the command but I figured it's only logical because the new home dir is mounted so the command now cannot be found in the home dir.

My goal is I don't want the command has access to my files in the real home dir when I run it

Originally created by @fourzerofour on GitHub (Feb 17, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/301 I was getting "No such file or directory" when I launched the command but I figured it's only logical because the new home dir is mounted so the command now cannot be found in the home dir. My goal is I don't want the command has access to my files in the real home dir when I run it
gitea-mirror 2026-05-05 05:19:41 -06:00
Author
Owner

@genodeftest commented on GitHub (Feb 17, 2016):

This is by design.

Two possible workarounds:

  1. install local command in /usr/local/bin (requires root privileges for installation)
  2. copy local command to a tempdir, add tempdir to ${PATH}
<!-- gh-comment-id:185301601 --> @genodeftest commented on GitHub (Feb 17, 2016): This is by design. Two possible workarounds: 1. install local command in /usr/local/bin (requires root privileges for installation) 2. copy local command to a tempdir, add tempdir to ${PATH}
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#210
No description provided.