mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4150] Dropbox needs access to python #2551
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#2551
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @matthew-cline on GitHub (Mar 31, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4150
firejail --name=dropbox dropbox startfails withexecvp: Permission deniedunlessinclude allow-python3.incis added to$HOME/.config/firejail/dropbox.local.Environment
output of `firejail --version`
firejail version 0.9.64Compile time support:
- AppArmor support is disabled
- AppImage support is enabled
- chroot support is enabled
- D-BUS proxy support is enabled
- file and directory whitelisting support is enabled
- file transfer support is enabled
- firetunnel support is enabled
- networking support is enabled
- overlayfs support is enabled
- private-home support is enabled
- SELinux support is enabled
- user namespace support is enabled
- X11 sandboxing support is enabled
Additional context
Result of
strace, specifically a non-sandboxedstrace -f -z -e trace=%file,%process -o strace.log dropbox startresulting in a working Dropbox daemon.Dropbox daemon version: 119.4.1772
Dropbox command-line interface version: 2020.03.04
/usr/bin/pythonis a Python script with/usr/bin/python3as the interpreter.The dropbox package I'm using was packaged by the RPM Fusion project, not by the Fedora Project.
debug output
@reinerh commented on GitHub (Apr 1, 2021):
Fedora is also shipping a python symlink to python3? :-|
Many scripts assume that python is a python2 interpreter. Scripts that support python3 should normally update their shebang.
But regarding dropbox, I guess it's fine to allow python3 if it's needed. Do you want to open a merge request?
@rusty-snake commented on GitHub (Apr 1, 2021):
@reinerh FIY https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
@matthew-cline commented on GitHub (Apr 2, 2021):
Oops, I meant "
/usr/bin/dropboxis a Python script with/usr/bin/python3as the interpreter". But, yeah,/usr/bin/pythonis a symlink topython3on Fedora.Sure, I'll do that.