cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Check out the Dropbox cheat sheet for getting started in 2021 here!

Dropbox installs & integrations

Connect your tools and content together with help from the Dropbox Community. Join a discussion or post a question of your own to get started.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Installation fails with permissions denied every time

Installation fails with permissions denied every time

New member | Level 2

After changing my user name Dropbox crashes. It keeps onn asking to modify rights of a directory that no lonnger exists.

 

Here's the text I get from the crash:

 

bn.BUILD_KEY: Dropbox
bn.VERSION: 101.4.434
bn.constants.WINDOWS_SHELL_EXT_VERSION: 43
bn.is_frozen: True
machine_id: dbb7aa06-fb18-533c-8f37-15b41afb4b42
pid: 8409
ppid: 1
uid: 503
user_info: pwd.struct_passwd(pw_name='mathieujuttet', pw_passwd='********', pw_uid=503, pw_gid=20, pw_gecos='Mathieu', pw_dir='/Users/mathieujuttet', pw_shell='/bin/bash')
effective_user_info: pwd.struct_passwd(pw_name='mathieujuttet', pw_passwd='********', pw_uid=503, pw_gid=20, pw_gecos='Mathieu', pw_dir='/Users/mathieujuttet', pw_shell='/bin/bash')
euid: 503
gid: 20
egid: 20
group_info: grp.struct_group(gr_name='staff', gr_passwd='*', gr_gid=20, gr_mem=['root'])
effective_group_info: grp.struct_group(gr_name='staff', gr_passwd='*', gr_gid=20, gr_mem=['root'])
DYLD_LIBRARY_PATH: None
cwd: '/'
     real_path='/'
            mode=0o40755 uid=0 gid=80
     parent mode=0o40755 uid=0 gid=80
HOME: '/Users/mathieujuttet'
appdata: '/Users/mathieujuttet 1/.dropbox/instance1'
         real_path='/Users/mathieujuttet 1/.dropbox/instance1'
                not found
         parent not found
dropbox_path: '/Users/mathieujuttet 1/Dropbox'
              real_path='/Users/mathieujuttet 1/Dropbox'
                    not found
              parent not found
sys_executable: '/Applications/Dropbox.app/Contents/MacOS/Dropbox'
                real_path='/Applications/Dropbox.app/Contents/MacOS/Dropbox'
                      mode=0o100755 uid=503 gid=20
                parent mode=0o40755 uid=503 gid=20
trace.__file__: '/Applications/Dropbox.app/Contents/Resources/python-packages.zip/dropbox/client/ui/common/boot_error.pyc'
                real_path='/Applications/Dropbox.app/Contents/Resources/python-packages.zip/dropbox/client/ui/common/boot_error.pyc'
                      not found
                parent not found
tempdir: '/var/folders/2f/_hh2c4dn4sd4_f60tb80b0h80000gq/T'
         real_path='/private/var/folders/2f/_hh2c4dn4sd4_f60tb80b0h80000gq/T'
                mode=0o40700 uid=503 gid=20
         parent mode=0o40755 uid=503 gid=20
Traceback (most recent call last:disappointed face:
  File "dropbox/client/main.pyc", line 1255, in safe_makedirs
  File "os.pyc", line 211, in makedirs
  File "os.pyc", line 211, in makedirs
  File "os.pyc", line 221, in makedirs
PermissionError: [Errno 13] Permission denied: '/Users/mathieujuttet 1'
 
During handling of the above exception, another exception occurred:
 
Traceback (most recent call last:disappointed face:
  File "dropbox/client/main.pyc", line 7736, in main_startup
  File "dropbox/client/main.pyc", line 2934, in run
  File "dropbox/client/main.pyc", line 1700, in startup_low
  File "dropbox/client/main.pyc", line 1282, in safe_makedirs
  File "os.pyc", line 211, in makedirs
  File "os.pyc", line 211, in makedirs
  File "os.pyc", line 221, in makedirs
PermissionError: [Errno 13] Permission denied: '/Users/mathieujuttet 1'

 

1 Accepted Solution

Accepted Solutions

Re: Installation fails

Not applicable

Hello @mathieujuttet 

 

You'd need to do a complete reinstall in order to fix this. First, make sure you save and quit ALL programs that access files in the Dropbox folder.

  1. Download the newest version:

www.dropbox.com/install

  1. Stop Dropbox (If needed:disappointed face:
- Click the Dropbox icon in the menu bar at the top of your screen
- Click on the gear icon in the Notifications panel and select 'Quit Dropbox'
  1. Delete Dropbox meta-data folder:
- To delete this folder open a Terminal (Located at /Applications/Utilities/Terminal for Mac OS)
- Copy and paste the following lines into the Terminal and press RETURN:

mv ~/.dropbox ~/.Trash/dropbox.old
mv ~/.dropbox-master ~/.Trash/dropbox-master.old

- This will move the folder to the Trash and make it visible. Please note that you could see an error message regarding the existence of the folder ".dropbox-master" when you run the last of the lines above. This is completely normal and you can go on with the next step.
  1. Delete the Dropbox Contextual Menu Item Plugin
- Open the Finder and select Go to folder... from the Go menu (or press Shift-Command-G)
- A dialog box should appear. Now copy and paste the following line into the box and press the return key:

     /Library/

- Finally drag the DropboxHelperTools folder to the Trash and enter your Administrator password if prompted to complete this action.
  1. Reinstall the Dropbox desktop application
- Open the Dropbox .dmg file and double click the Dropbox icon.
- Dropbox should appear in your menu bar.
- Relink your account.

I hope this helps!

-----------

HeartDid this post help you? If so please mark it for some Kudos below. 

Did this post fix your issue/answer your question? If so please press the 'Accept as Solution' button to help others find it.

Did this post not resolve your issue? If so please give some more information so we can try and help - please remember we cannot see over your shoulder so be as descriptive as possible! 

View solution in original post

3 Replies 3

Re: Installation fails

Not applicable

Hello @mathieujuttet 

 

You'd need to do a complete reinstall in order to fix this. First, make sure you save and quit ALL programs that access files in the Dropbox folder.

  1. Download the newest version:

www.dropbox.com/install

  1. Stop Dropbox (If needed:disappointed face:
- Click the Dropbox icon in the menu bar at the top of your screen
- Click on the gear icon in the Notifications panel and select 'Quit Dropbox'
  1. Delete Dropbox meta-data folder:
- To delete this folder open a Terminal (Located at /Applications/Utilities/Terminal for Mac OS)
- Copy and paste the following lines into the Terminal and press RETURN:

mv ~/.dropbox ~/.Trash/dropbox.old
mv ~/.dropbox-master ~/.Trash/dropbox-master.old

- This will move the folder to the Trash and make it visible. Please note that you could see an error message regarding the existence of the folder ".dropbox-master" when you run the last of the lines above. This is completely normal and you can go on with the next step.
  1. Delete the Dropbox Contextual Menu Item Plugin
- Open the Finder and select Go to folder... from the Go menu (or press Shift-Command-G)
- A dialog box should appear. Now copy and paste the following line into the box and press the return key:

     /Library/

- Finally drag the DropboxHelperTools folder to the Trash and enter your Administrator password if prompted to complete this action.
  1. Reinstall the Dropbox desktop application
- Open the Dropbox .dmg file and double click the Dropbox icon.
- Dropbox should appear in your menu bar.
- Relink your account.

I hope this helps!

-----------

HeartDid this post help you? If so please mark it for some Kudos below. 

Did this post fix your issue/answer your question? If so please press the 'Accept as Solution' button to help others find it.

Did this post not resolve your issue? If so please give some more information so we can try and help - please remember we cannot see over your shoulder so be as descriptive as possible! 

View solution in original post

Re: Installation fails

New member | Level 2

It works perfectly, thanks!!!

Re: Installation fails

Not applicable

@mathieujuttet 

 

Happy to help!

Polls
Are you starting new work habits this year?

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?