[GH-ISSUE #5908] Cannot open files in gocryptfs/securefs filesystem with firejailed programs #3130

Closed
opened 2026-05-05 09:46:03 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @ghost on GitHub (Jul 18, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5908

Description

With gocryptfs and securefs i don't can open any file with double-click on external program, like. mpv, ristretto, xarchiver and other in the mounted folder.

Steps to Reproduce

Steps to reproduce the behavior

  1. Install firejail, gocryptfs, qpdfview and run sudo firecfg
  2. Mount a folder with gocryptfs
  3. Example. Run command qpdfview at the mounted directory
  4. See error Error: cannot access profile file: qpdfview.local

Expected behavior

Work

Actual behavior

Not work

Behavior without a profile

With sudo firecfg --clean work normally

Additional context

https://github.com/rfjakob/gocryptfs/issues/767

Environment

  • Linux distribution and version arch fork latest
  • Firejail version latest

Checklist

  • The issues is caused by firejail (i.e. running the program by path (e.g. /usr/bin/vlc) "fixes" it).
  • I can reproduce the issue without custom modifications (e.g. globals.local).
  • The program has a profile. (If not, request one in https://github.com/netblue30/firejail/issues/1139)
  • The profile (and redirect profile if exists) hasn't already been fixed upstream.
  • I have performed a short search for similar issues (to avoid opening a duplicate).
    • I'm aware of browser-allow-drm yes/browser-disable-u2f no in firejail.config to allow DRM/U2F in browsers.
  • I used --profile=PROFILENAME to set the right profile. (Only relevant for AppImages)

Log

Don't need

Originally created by @ghost on GitHub (Jul 18, 2023). Original GitHub issue: https://github.com/netblue30/firejail/issues/5908 <!-- See the following links for help with formatting: https://guides.github.com/features/mastering-markdown/ https://docs.github.com/en/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax --> ### Description With gocryptfs and securefs i don't can open any file with double-click on external program, like. mpv, ristretto, xarchiver and other in the mounted folder. ### Steps to Reproduce _Steps to reproduce the behavior_ 0. Install firejail, gocryptfs, qpdfview and run `sudo firecfg` 1. Mount a folder with gocryptfs 2. Example. Run command `qpdfview` at the mounted directory 4. See error `Error: cannot access profile file: qpdfview.local` ### Expected behavior Work ### Actual behavior Not work ### Behavior without a profile With `sudo firecfg --clean` work normally ### Additional context https://github.com/rfjakob/gocryptfs/issues/767 ### Environment - Linux distribution and version arch fork latest - Firejail version latest ### Checklist <!-- Note: Items are checked with an "x", like so: - [x] This is a checked item. --> - [x] The issues is caused by firejail (i.e. running the program by path (e.g. `/usr/bin/vlc`) "fixes" it). - [x] I can reproduce the issue without custom modifications (e.g. globals.local). - [ ] The program has a profile. (If not, request one in `https://github.com/netblue30/firejail/issues/1139`) - [ ] The profile (and redirect profile if exists) hasn't already been fixed [upstream](https://github.com/netblue30/firejail/tree/master/etc). - [x] I have performed a short search for similar issues (to avoid opening a duplicate). - [ ] I'm aware of `browser-allow-drm yes`/`browser-disable-u2f no` in `firejail.config` to allow DRM/U2F in browsers. - [ ] I used `--profile=PROFILENAME` to set the right profile. (Only relevant for AppImages) ### Log Don't need
gitea-mirror 2026-05-05 09:46:03 -06:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@rusty-snake commented on GitHub (Jul 18, 2023):

Duplicated of #3798

<!-- gh-comment-id:1640077964 --> @rusty-snake commented on GitHub (Jul 18, 2023): Duplicated of #3798
Author
Owner

@rusty-snake commented on GitHub (Jul 18, 2023):

Summary of the workarounds: https://github.com/netblue30/firejail/issues/3798#issuecomment-1004031394

<!-- gh-comment-id:1640079500 --> @rusty-snake commented on GitHub (Jul 18, 2023): Summary of the workarounds: https://github.com/netblue30/firejail/issues/3798#issuecomment-1004031394
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#3130
No description provided.