[GH-ISSUE #1131] Error: cannot access profile file #779

Closed
opened 2026-05-05 06:38:51 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @lalbers on GitHub (Mar 6, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1131

I got following error message, when i tried to load any profiles:

firejail --profile=start-tor-browser.profile
Reading profile start-tor-browser.profile
Error: cannot access profile file

firejail version 0.9.45
Compile time support:
- AppArmor support is disabled
- AppImage support is enabled
- bind support is enabled
- chroot support is enabled
- file and directory whitelisting support is enabled
- file transfer support is enabled
- networking support is enabled
- git install support is enabled
- overlayfs support is enabled
- private-home support is enabled
- seccomp-bpf support is enabled
- user namespace support is enabled
- X11 sandboxing support is enabled

Kernel:
4.9.13-200.fc25.x86_64
SELinux: enabled

Originally created by @lalbers on GitHub (Mar 6, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1131 I got following error message, when i tried to load any profiles: **firejail --profile=start-tor-browser.profile** Reading profile start-tor-browser.profile Error: cannot access profile file firejail version 0.9.45 Compile time support: - AppArmor support is disabled - AppImage support is enabled - bind support is enabled - chroot support is enabled - file and directory whitelisting support is enabled - file transfer support is enabled - networking support is enabled - git install support is enabled - overlayfs support is enabled - private-home support is enabled - seccomp-bpf support is enabled - user namespace support is enabled - X11 sandboxing support is enabled Kernel: 4.9.13-200.fc25.x86_64 SELinux: enabled
gitea-mirror 2026-05-05 06:38:51 -06:00
Author
Owner

@netblue30 commented on GitHub (Mar 7, 2017):

Kind of strange. It finds the profile file, but it cannot access it! Maybe "Error: cannot access profile file" is printed by the browser? Add a --debug to the command (firejail --debug ...) and print it here, and also the profile file.

<!-- gh-comment-id:284720133 --> @netblue30 commented on GitHub (Mar 7, 2017): Kind of strange. It finds the profile file, but it cannot access it! Maybe "Error: cannot access profile file" is printed by the browser? Add a --debug to the command (firejail --debug ...) and print it here, and also the profile file.
Author
Owner

@lalbers commented on GitHub (Mar 7, 2017):

Hey netblue30,
i found the issue. In the profile there were some includes on files that doesn't exist anymore:

include /etc/firejail/disable-common.inc 
include /etc/firejail/disable-programs.inc 
include /etc/firejail/disable-passwdmgr.inc 
include /etc/firejail/disable-devel.inc

Reason was, that i changed from a rpmfusion packet to "fgit-install.sh". Had to copy the 'etc' dir from git clone. So my fault, but an error output at this point would be really useful.

Anyway, thanks and keep up your amazing work.

<!-- gh-comment-id:284723778 --> @lalbers commented on GitHub (Mar 7, 2017): Hey netblue30, i found the issue. In the profile there were some includes on files that doesn't exist anymore: ``` include /etc/firejail/disable-common.inc include /etc/firejail/disable-programs.inc include /etc/firejail/disable-passwdmgr.inc include /etc/firejail/disable-devel.inc ``` Reason was, that i changed from a rpmfusion packet to "fgit-install.sh". Had to copy the 'etc' dir from git clone. So my fault, but an error output at this point would be really useful. Anyway, thanks and keep up your amazing work.
Author
Owner

@netblue30 commented on GitHub (Mar 7, 2017):

You're welcome!

<!-- gh-comment-id:284740278 --> @netblue30 commented on GitHub (Mar 7, 2017): You're welcome!
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#779
No description provided.