We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

ameliebouan's avatar
ameliebouan
Helpful | Level 6
5 years ago

Can't start Dropbox because of permission error

Hi!

I have two profiles on my Mac: one for my personal use, and one for my professional use. The profile for personal use has admin rights, the profile for professional use does not (but I could set it so it did). It's the profiles you see and can log into when you turn the Mac on. 

I have installed the Dropbox app with both my Dropbox accounts (which are linked together) on my personal profile (the one with admin rights). It has been succesfully working for over two years.

I am now trying to install the Dropbox app on my professional profile on Mac (the one without admin rights), but I get this message error: Can't start Dropbox because of permission error.

I have tried two troubleshooting processes here on the Dropbox community, but non have worked (please see below). 

Can you please help me? I really need this to work for my job.

Thank you very much in advance!

Amélie

 

__

METHODS TRIED TO SOLVE THE ISSUE:

1. Method one

This often happens with users who may have migrated old data and settings from another Mac to their current computer.

Operating system permissions prevent files from being viewed or edited by unauthorized logins. Permissions can be set any number of ways and can be restored manually through a fairly simple process. Please note that it is very important to follow these steps specifically as failure to do so may result in other issues. On a Mac OS X you can do the following:

1) Make sure the Dropbox desktop application is running

2) Click on the Dropbox icon in your menu bar and then click on the gear in the Notifications panel

3) Select 'Preferences'

4) Click on the 'Account' tab

5) Hold down the 'Option' key

6) Click on the 'Fix Permissions' button (make sure you're still holding down the 'Option' key.

This will allow Dropbox access to your home folder, Dropbox folder, and any required settings.

 

2. Method two

1) Select your home directory (the folder named after your computer's login) and press Command-I to "Get Info"
2) Scroll down to the "Sharing & Permissions" section at the bottom of the Get Info window
3) If everything is grayed out, click on the gold lock at the bottom right of the window. You'll be prompted for your login password. You'll need admin access to edit the permissions. If you are unable to unlock these privileges, talk to your system administrator to give you access to this folder.
4) Your name should already be on the list of sharing and permissions. If you aren't listed, then add yourself by clicking the + button.
5) Once your user is added, click your name and then click the gear menu at the bottom middle of the window, and choose "Make me the owner". If this option is grayed out you can skip to step 6.
6) Click the gear again and choose "Apply to enclosed items".

 

__

ERROR INFO

bn.BUILD_KEY: Dropbox
bn.VERSION: 108.4.453
bn.constants.WINDOWS_SHELL_EXT_VERSION: 46
bn.is_frozen: True
machine_id: d6bd0a9a-82d1-5e9d-8e28-fb03b9a018a1
pid: 4238
ppid: 1
uid: 502
user_info: pwd.struct_passwd(pw_name='Work', pw_passwd='********', pw_uid=502, pw_gid=20, pw_gecos='Work', pw_dir='/Users/work', pw_shell='/bin/bash')
effective_user_info: pwd.struct_passwd(pw_name='Work', pw_passwd='********', pw_uid=502, pw_gid=20, pw_gecos='Work', pw_dir='/Users/work', pw_shell='/bin/bash')
euid: 502
gid: 20
egid: 20
group_info: grp.struct_group(gr_name='staff', gr_passwd='*', gr_gid=20, gr_mem=['root', 'ameliebouan', '_serialnumberd'])
effective_group_info: grp.struct_group(gr_name='staff', gr_passwd='*', gr_gid=20, gr_mem=['root', 'ameliebouan', '_serialnumberd'])
DYLD_LIBRARY_PATH: None
cwd: '/'
real_path='/'
mode=0o40755 uid=0 gid=80
parent mode=0o40755 uid=0 gid=80
HOME: '/Users/work'
appdata: '/Users/pro/.dropbox/instance1'
real_path='/Users/pro/.dropbox/instance1'
not found
parent not found
dropbox_path: '/Users/pro/Dropbox'
real_path='/Users/pro/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=502 gid=20
parent mode=0o40755 uid=502 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/qk/8grpgjr52nx_zy2rmtkwfzg40000gp/T'
real_path='/private/var/folders/qk/8grpgjr52nx_zy2rmtkwfzg40000gp/T'
mode=0o40700 uid=502 gid=20
parent mode=0o40755 uid=502 gid=20
Traceback (most recent call last):
File "dropbox/client/main.pyc", line 1269, in safe_makedirs
File "os.pyc", line 213, in makedirs
File "os.pyc", line 213, in makedirs
File "os.pyc", line 223, in makedirs
PermissionError: [Errno 13] Permission denied: '/Users/pro'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "dropbox/client/main.pyc", line 7774, in main_startup
File "dropbox/client/main.pyc", line 2951, in run
File "dropbox/client/main.pyc", line 1715, in startup_low
File "dropbox/client/main.pyc", line 1296, in safe_makedirs
File "os.pyc", line 213, in makedirs
File "os.pyc", line 213, in makedirs
File "os.pyc", line 223, in makedirs
PermissionError: [Errno 13] Permission denied: '/Users/pro'

  • Hi Walter!

    That second solution didn't work either, but what I did was I set my Work profile on my Mac as an admin, deleted Dropbox doing the clean uninstall (your first solution), redownloaded and... it worked! I didn't try to have the same Dropbox accounts on both my Personal and Work profile... but that's ok - I can open both, I'll work with shared folders to transfer stuff from one to another and boom! Thanks a lot for your time and help. 

    • ameliebouan's avatar
      ameliebouan
      Helpful | Level 6

      Hi Walter! Alas... yes, exact same error. What can be done? 

      • Walter's avatar
        Walter
        Icon for Dropbox Staff rankDropbox Staff

        Sorry to hear this persists, Amelie.

         

        Let's try another route at this point:

         

        1. Open your Terminal app (Located at /Applications/Utilities/Terminal)

         

        2. Copy and paste the following line (highlighted below) into the Terminal and press ENTER. PLEASE make sure you copy and paste this command (don't type it by hand), as getting it wrong could cause some harm. You'll be prompted for your computer's admin password (not your Dropbox password) after entering the first command. Keep in mind that the password field in the terminal will remain blank as you type your password. After you type it, just press ENTER. You'll know that these instructions complete normally once the initial line of text (called prompt) comes up again:

         

        sudo mv ~/.dropbox ~/.Trash/dropbox.old

         

        Please note that once the prompt displays, the instruction completed the requested task. If the command returns an error, or does not respond after an hour, you may want to try restarting your computer and trying this step again.

         

        3. Restart Dropbox from the Application folder, then please sign in and apply any Selective Sync settings you may have had prior to this reset during the sign in process. Your account will take a few moments to reindex the files and sync any pending changes.

         

        If the desktop app still doesn't start then please copy and send me (a screenshot of) the result from the Terminal commands and any error messages.

         

        Thanks! 

  • Kirk D.1's avatar
    Kirk D.1
    Explorer | Level 3

    I changed the letter of my disk drive that dropbox used. It was drive letter "d" and now the drive has been renamed to "e" .How do I get dropbox to look in drive "e". How can I get dropbox to look in the new drive?

     

     

    bn.BUILD_KEY: Dropbox
    bn.VERSION: 132.4.3800
    bn.constants.WINDOWS_SHELL_EXT_VERSION: 49
    bn.is_frozen: True
    machine_id: 9588e6bf-44fc-4885-8f79-380fac42e8c1
    pid: 4280
    cwd: 'C:\\Users\\Kirk\\Desktop'
    real_path='C:\\Users\\Kirk\\Desktop'
    mode=0o40555 uid=0 gid=0
    parent mode=0o40777 uid=0 gid=0
    HOME: None
    appdata: 'C:\\Users\\Kirk\\AppData\\Local\\Dropbox\\instance1'
    real_path='C:\\Users\\Kirk\\AppData\\Local\\Dropbox\\instance1'
    mode=0o40777 uid=0 gid=0
    parent mode=0o40777 uid=0 gid=0
    dropbox_path: 'D:\\Dropbox'
    real_path='D:\\Dropbox'
    not found
    parent not found
    sys_executable: 'C:\\Program Files (x86)\\Dropbox\\Client\\Dropbox.exe'
    real_path='C:\\Program Files (x86)\\Dropbox\\Client\\Dropbox.exe'
    mode=0o100777 uid=0 gid=0
    parent mode=0o40777 uid=0 gid=0
    trace.__file__: 'C:\\Program Files (x86)\\Dropbox\\Client\\132.4.3800\\python-packages.zip\\dropbox\\client\\ui\\common\\boot_error.pyc'
    real_path='C:\\Program Files (x86)\\Dropbox\\Client\\132.4.3800\\python-packages.zip\\dropbox\\client\\ui\\common\\boot_error.pyc'
    not found
    parent not found
    TMP: C:\Users\Kirk\AppData\Local\Temp
    TEMP: C:\Users\Kirk\AppData\Local\Temp
    tempdir: 'C:\\Users\\Kirk\\AppData\\Local\\Temp'
    real_path='C:\\Users\\Kirk\\AppData\\Local\\Temp'
    mode=0o40777 uid=0 gid=0
    parent mode=0o40777 uid=0 gid=0
    Traceback (most recent call last):
    File "dropbox\shared\error_util.pyc", line 30, in convert_error
    File "dropbox\sync_engine\file_system\windows.pyc", line 339, in __init__
    pywintypes.error: (21, 'CreateFileW', 'The device is not ready.')

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "dropbox\client\authentication\register_host_helper.pyc", line 723, in _on_register_host_success
    File "dropbox\client\authentication\register_host_helper.pyc", line 899, in _handle_joining_leaving_cdm_team
    File "dropbox\client\relocate_namespace_folders.pyc", line 686, in execute_pending_operations
    File "dropbox\sync_engine\file_system\windows.pyc", line 410, in open
    File "dropbox\sync_engine\file_system\windows.pyc", line 339, in __init__
    File "contextlib.pyc", line 131, in __exit__
    File "dropbox\shared\error_util.pyc", line 43, in convert_error
    File "six.pyc", line 695, in reraise
    File "dropbox\shared\error_util.pyc", line 30, in convert_error
    File "dropbox\sync_engine\file_system\windows.pyc", line 339, in __init__
    dropbox.sync_engine_boundary.file_system_exceptions.PermissionDeniedError: [Errno 13] The device is not ready.

    • Megan's avatar
      Megan
      Icon for Dropbox Staff rankDropbox Staff
      Hi Kirk D.1, let's see what we can do! 

      Can you perform an Advanced re-install using these steps? 

      That should do the trick. 

      Let me know of any updates.
       
      • Kirk D.1's avatar
        Kirk D.1
        Explorer | Level 3

        sounds easier to uninstall and do a clean reinstall

  • harwooje's avatar
    harwooje
    Explorer | Level 3

    Here's the report (I can't find a way to submit a ticket):

     

    bn.BUILD_KEY: Dropbox
    bn.VERSION: 133.3.4076
    bn.constants.WINDOWS_SHELL_EXT_VERSION: 51
    bn.is_frozen: True
    machine_id: 081a9da6-7071-5407-898f-125db7a7cd27
    pid: 949
    ppid: 1
    uid: 504
    user_info: pwd.struct_passwd(pw_name='johnharwood', pw_passwd='********', pw_uid=504, pw_gid=20, pw_gecos='John Harwood', pw_dir='/Users/johnharwood', pw_shell='/bin/zsh')
    effective_user_info: pwd.struct_passwd(pw_name='johnharwood', pw_passwd='********', pw_uid=504, pw_gid=20, pw_gecos='John Harwood', pw_dir='/Users/johnharwood', pw_shell='/bin/zsh')
    euid: 504
    gid: 20
    egid: 20
    group_info: grp.struct_group(gr_name='staff', gr_passwd='*', gr_gid=20, gr_mem=['root', 'jamfmanage', 'vuadmin', '_mdatp', 'iriscenter'])
    effective_group_info: grp.struct_group(gr_name='staff', gr_passwd='*', gr_gid=20, gr_mem=['root', 'jamfmanage', 'vuadmin', '_mdatp', 'iriscenter'])
    DYLD_LIBRARY_PATH: None
    cwd: '/'
    real_path='/'
    mode=0o40755 uid=0 gid=0
    parent mode=0o40755 uid=0 gid=0
    HOME: '/Users/johnharwood'
    appdata: '/Users/johnharwood/.dropbox/instance1'
    real_path='/Users/johnharwood/.dropbox/instance1'
    mode=0o40700 uid=504 gid=20
    parent mode=0o40700 uid=504 gid=20
    dropbox_path: '/Users/johnharwood/Dropbox'
    real_path='/Users/johnharwood/Dropbox'
    mode=0o40700 uid=504 gid=20
    parent mode=0o40755 uid=504 gid=20
    sys_executable: '/Applications/Dropbox.app/Contents/MacOS/Dropbox'
    real_path='/Applications/Dropbox.app/Contents/MacOS/Dropbox'
    mode=0o100755 uid=504 gid=20
    parent mode=0o40755 uid=504 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/d6/3w_sd13s1751wmln8_jg2khm0000gr/T'
    real_path='/private/var/folders/d6/3w_sd13s1751wmln8_jg2khm0000gr/T'
    mode=0o40700 uid=504 gid=20
    parent mode=0o40755 uid=504 gid=20
    Traceback (most recent call last):
    File "dropbox/client/main.pyc", line 808, in wrapper
    File "dropbox/client/main.pyc", line 6497, in finish_dropbox_boot
    File "dropbox/client/message_queue.pyc", line 307, in _wrapped
    File "dropbox/client/main.pyc", line 6030, in _init_components_for_account
    File "dropbox/client/main.pyc", line 5954, in create_sync_engine
    File "dropbox/sync_engine_boundary/factory.pyc", line 226, in make_sync_engine
    File "dropbox/sync_engine/nucleus/classic_client/sync_engine.pyc", line 280, in __init__
    File "dropbox/sync_engine/nucleus/classic_client/modern_client/modern_client.pyc", line 222, in __init__
    File "dropbox/sync_engine/nucleus/classic_client/modern_client/base.pyc", line 152, in __init__
    File "dropbox/sync_engine/nucleus/classic_client/thin_adapter/in_proc.pyc", line 217, in __init__
    File "dropbox/sync_engine/nucleus/classic_client/thin_adapter/in_proc.pyc", line 579, in _init_new_engine_locked
    File "dropbox/sync_engine/nucleus/thin_client/client.pyc", line 130, in __init__
    File "desktop/extensions/nucleus/nucleus_python.pyx", line 76, in nucleus_python.NucleusSyncEngine.__cinit__
    nucleus_python.SyncEngineError: "Initializing engine |>> Initializing filesystem |>> Attempting to register icons |>> Opening dst |>> open syscall |>> Permission denied"

     

     

     

  • Morten Flatau's avatar
    Morten Flatau
    New member | Level 2

    Dear Experts,

    I just (and successfully) changed the name of my admin folder on my Macbook Pro (OS 12.6.6) Now my Drobox App won't launch and I am presented with the following (which I don't understand a word of):

     

     

    bn.BUILD_KEY: Dropbox
    bn.VERSION: 178.4.4811
    bn.constants.WINDOWS_SHELL_EXT_VERSION: 62
    bn.is_frozen: True
    machine_id: 2beb0037-9b0d-512f-b9bf-acace53ae85f
    pid: 1120
    ppid: 1
    uid: 502
    user_info: pwd.struct_passwd(pw_name='mortenflatau', pw_passwd='********', pw_uid=502, pw_gid=20, pw_gecos='Morten Flatau', pw_dir='/Users/mortenflatau', pw_shell='/bin/bash')
    effective_user_info: pwd.struct_passwd(pw_name='mortenflatau', pw_passwd='********', pw_uid=502, pw_gid=20, pw_gecos='Morten Flatau', pw_dir='/Users/mortenflatau', pw_shell='/bin/bash')
    euid: 502
    gid: 20
    egid: 20
    group_info: grp.struct_group(gr_name='staff', gr_passwd='*', gr_gid=20, gr_mem=['root', 'virumstraede', '_nsurlstoraged', '_serialnumberd'])
    effective_group_info: grp.struct_group(gr_name='staff', gr_passwd='*', gr_gid=20, gr_mem=['root', 'virumstraede', '_nsurlstoraged', '_serialnumberd'])
    DYLD_LIBRARY_PATH: None
    cwd: '/'
         real_path='/'
                mode=0o40755 uid=0 gid=0
         parent mode=0o40755 uid=0 gid=0
    HOME: '/Users/mortenflatau'
    appdata: '/Users/virumstraede/.dropbox/instance1'
             real_path='/Users/virumstraede/.dropbox/instance1'
                    not found
             parent not found
    dropbox_path: None
                        not found
                  parent not found
    sys_executable: '/Applications/Dropbox.app/Contents/MacOS/Dropbox'
                    real_path='/Applications/Dropbox.app/Contents/MacOS/Dropbox'
                          mode=0o100755 uid=502 gid=20
                    parent mode=0o40755 uid=502 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/_5/lvgnssls55nd91zw94qlh7tc0000gp/T'
             real_path='/private/var/folders/_5/lvgnssls55nd91zw94qlh7tc0000gp/T'
                    mode=0o40700 uid=502 gid=20
             parent mode=0o40755 uid=502 gid=20
    Traceback (most recent call last):
      File "desktop/dropbox/client/main.py", line 1227, in safe_makedirs
      File "desktop/dropbox/fsutil.py", line 706, in safe_makedirs
      File "../mac_arm64_dropbox_virtual_env/lib/python3.8/os.py", line 213, in makedirs
      File "../mac_arm64_dropbox_virtual_env/lib/python3.8/os.py", line 213, in makedirs
      File "../mac_arm64_dropbox_virtual_env/lib/python3.8/os.py", line 223, in makedirs
    PermissionError: [Errno 13] Permission denied: '/Users/virumstraede'
     
    During handling of the above exception, another exception occurred:
     
    Traceback (most recent call last):
      File "desktop/dropbox/client/main.py", line 7777, in main_startup
      File "desktop/dropbox/client/main.py", line 2642, in initialize
      File "desktop/dropbox/client/main.py", line 1590, in startup_low
      File "desktop/dropbox/client/main.py", line 1236, in safe_makedirs
      File "desktop/dropbox/fsutil.py", line 706, in safe_makedirs
      File "../mac_arm64_dropbox_virtual_env/lib/python3.8/os.py", line 213, in makedirs
      File "../mac_arm64_dropbox_virtual_env/lib/python3.8/os.py", line 213, in makedirs
      File "../mac_arm64_dropbox_virtual_env/lib/python3.8/os.py", line 223, in makedirs
    PermissionError: [Errno 13] Permission denied: '/Users/virumstraede'

     

    Can any of you people help me? I will be most grateful, I you can.

    • Здравко's avatar
      Здравко
      Legendary | Level 20

      Hi Morten Flatau,

      Execute following:

      rm -rf ~/.dropbox

      Now re-link your application, like start for the first time, on next launch. 😉

      Hope this helps.

      • Morten Flatau's avatar
        Morten Flatau
        New member | Level 2

        This is a line of code for use in Terminal, right?

About View, download, and export

Need support with viewing, downloading, and exporting files and folders from your Dropbox account? Find help from the Dropbox Community.

Need more support

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!