[GH-ISSUE #1420] dropbox can't start: permission denied to ~/.dropbox-dist #966

Closed
opened 2026-05-05 07:13:51 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @rahiel on GitHub (Jul 31, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1420

I've upgraded from Debian Stretch to Buster (the current testing), I went from firejail version 0.9.44.8-2 to 0.9.48-2. (I didn't have this issue with the older firejail version.)

Dropbox downloads a new version, and wants to unpack it in the directory ~/.dropbox-dist/dropbox-lnx.x86_64-30.4.22 but fails because a permission denied error:

Starting Dropbox...[Errno 13] Permission denied: '/home/rahiel/.dropbox-dist/dropbox-lnx.x86_64-30.4.22'

I started a shell with the Dropbox profile:

$ firejail --profile=/etc/firejail/dropbox.profile
Reading profile /etc/firejail/dropbox.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Parent pid 16401, child pid 16402
Child process initialized in 34.50 ms
rahiel@debian:~$ ls -la
total 16
drwx------  6 rahiel rahiel   160 Jul 31 13:19 .
drwxr-xr-x  3 nobody nogroup   60 Jul 31 13:19 ..
-rw-r--r--  1 rahiel rahiel  3526 Jul 31 13:19 .bashrc
drwx--x--x  4 rahiel rahiel    80 Jul 31 13:19 .config
drwx------  5 rahiel rahiel  4096 Jul 30 22:55 .dropbox
drwx------ 14 rahiel rahiel  4096 Jul 30 22:55 Dropbox
dr--------  2 nobody nogroup   40 Jul 31 10:21 .dropbox-dist
-rw-------  1 rahiel rahiel    49 Jul 31 13:19 .Xauthority
rahiel@debian:~$ cd .dropbox-dist/
bash: cd: .dropbox-dist/: Permission denied

So Dropbox can't access ~/dropbox-dist, while it is whitelisted in the profile.

Originally created by @rahiel on GitHub (Jul 31, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1420 I've upgraded from Debian Stretch to Buster (the current testing), I went from firejail version 0.9.44.8-2 to 0.9.48-2. (I didn't have this issue with the older firejail version.) Dropbox downloads a new version, and wants to unpack it in the directory `~/.dropbox-dist/dropbox-lnx.x86_64-30.4.22` but fails because a permission denied error: ``` Starting Dropbox...[Errno 13] Permission denied: '/home/rahiel/.dropbox-dist/dropbox-lnx.x86_64-30.4.22' ``` I started a shell with the Dropbox profile: ``` shell $ firejail --profile=/etc/firejail/dropbox.profile Reading profile /etc/firejail/dropbox.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/disable-passwdmgr.inc Parent pid 16401, child pid 16402 Child process initialized in 34.50 ms rahiel@debian:~$ ls -la total 16 drwx------ 6 rahiel rahiel 160 Jul 31 13:19 . drwxr-xr-x 3 nobody nogroup 60 Jul 31 13:19 .. -rw-r--r-- 1 rahiel rahiel 3526 Jul 31 13:19 .bashrc drwx--x--x 4 rahiel rahiel 80 Jul 31 13:19 .config drwx------ 5 rahiel rahiel 4096 Jul 30 22:55 .dropbox drwx------ 14 rahiel rahiel 4096 Jul 30 22:55 Dropbox dr-------- 2 nobody nogroup 40 Jul 31 10:21 .dropbox-dist -rw------- 1 rahiel rahiel 49 Jul 31 13:19 .Xauthority rahiel@debian:~$ cd .dropbox-dist/ bash: cd: .dropbox-dist/: Permission denied ``` So Dropbox can't access `~/dropbox-dist`, while it is whitelisted in the profile.
Author
Owner

@Fred-Barclay commented on GitHub (Jul 31, 2017):

Fixed - thanks @rahiel for reporting and @SpotComms for fixing! :)

<!-- gh-comment-id:319080869 --> @Fred-Barclay commented on GitHub (Jul 31, 2017): Fixed - thanks @rahiel for reporting and @SpotComms for fixing! :)
Author
Owner

@rahiel commented on GitHub (Jul 31, 2017):

Thanks @SpotComms, the fix works!

<!-- gh-comment-id:319084631 --> @rahiel commented on GitHub (Jul 31, 2017): Thanks @SpotComms, the fix works!
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#966
No description provided.