Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot open files in gocryptfs/securefs filesystem with firejailed programs #5908

Closed
3 of 7 tasks
KonoromiHimaries opened this issue Jul 18, 2023 · 2 comments
Closed
3 of 7 tasks
Labels
duplicate This issue or pull request already exists

Comments

@KonoromiHimaries
Copy link

KonoromiHimaries commented Jul 18, 2023

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

rfjakob/gocryptfs#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

@KonoromiHimaries KonoromiHimaries changed the title With gocryptfs and securefs i don't can open any file with double-click With gocryptfs and securefs i don't can open any file with double-click in the mounted folder Jul 18, 2023
@rusty-snake rusty-snake added the duplicate This issue or pull request already exists label Jul 18, 2023
@rusty-snake
Copy link
Collaborator

Duplicated of #3798

@rusty-snake rusty-snake closed this as not planned Won't fix, can't repro, duplicate, stale Jul 18, 2023
@rusty-snake
Copy link
Collaborator

Summary of the workarounds: #3798 (comment)

@kmk3 kmk3 changed the title With gocryptfs and securefs i don't can open any file with double-click in the mounted folder Cannot open files in gocryptfs/securefs filesystem with firejailed programs Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants