我刚买了一台新的Macbook,现在正在为其安装应用程序。设置了Dropbox以及其他所有功能之后,我决定将帐户名(以前称为“ mac”)更改为我的名字。一切正常,直到我尝试打开Dropbox为止,它要求对错误的用户文件夹(具有旧帐户名)进行许可,如下所示:
我尝试从Dropbox帐户断开我的计算机的链接并重新安装Dropbox,该软件会一直在寻找该文件夹的权限。我应该怎么做才能解决这个问题?请提出建议并谢谢。
编辑:
输入我的登录详细信息后,这就是我得到的:
问题是该文件夹/Users/mac
不存在。我单击对话框的链接并获得以下日志:
bn.BUILD_KEY:投递箱bn。版本:2.6.31 bn.DROPBOXEXT_VERSION:失败bn.is_frozen:真pid:489 ppid:233 uid:501 user_info:pwd.struct_passwd(pw_name ='ichigo',pw_passwd ='**** ****',pw_uid = 501,pw_gid = 20,pw_gecos ='Huong Do',pw_dir ='/ Users / ichigo',pw_shell ='/ bin / bash')有效用户信息:pwd.struct_passwd(pw_name ='ichigo' ,pw_passwd ='********',pw_uid = 501,pw_gid = 20,pw_gecos ='Huong Do',pw_dir ='/ Users / ichigo',pw_shell ='/ bin / bash')euid:501 gid:20 egid:20 group_info:grp.struct_group(gr_name ='staff',gr_passwd =' ',gr_gid = 20,gr_mem = ['root'])有效组信息:grp.struct_group(gr_name ='staff',gr_passwd ='',gr_gid = 20,gr_mem = ['root'])DYLD_LIBRARY_PATH:无cwd:u'/ Applications / Dropbox.app / Contents / Resources'real_path = u'/ Applications / Dropbox.app / Contents / Resources'mode = 040755 UID = 501 GID = 20父模式= 040755 UID = 501 GID = 20 HOME:U '/用户/草莓' 应用程序数据:U '/用户/ MAC / .dropbox' REAL_PATH = U '/用户/ MAC / .dropbox' 不找不到父代dropbox_path:u'/ Users / mac / Dropbox'real_path = u'/ Users / mac / Dropbox' 找不到父级找不到sys_executable:'/Applications/Dropbox.app/Contents/MacOS/python'real_path ='/ Applications / Dropbox.app / Contents / MacOS / python'mode = 0100755 uid = 501 gid = 20父级模式= 040755 uid = 501 gid = 20跟踪。文件:'/Applications/Dropbox.app/Contents/Resources/lib/python2.7/site-packages.zip/dropbox/boot_error.pyc'real_path ='/ Applications / Dropbox.app / Contents / Resources / lib / python2.7 /site-packages.zip/dropbox/boot_error.pyc'找不到父目录tempdir:u'/ var / folders / l1 / f5mv9brd0s5fwx12z2lrp4s40000gn / T'real_path = u'/ private / var / folders / l1 / f5mv9brd0s5fwx12z20000 mode = 040700 uid = 501 gid = 20父模式= 040755 uid = 501 gid = 20追溯(最近一次调用为最新):文件“ dropbox / client / main.pyc”,行1818,位于main_startup中
运行中的文件“ dropbox / client / main.pyc”第1048行,startup_low文件中的文件“ dropbox / client / main.pyc”第492行,safe_makedirs文件“ 314”中的文件“ dropbox / client / main.pyc” os.pyc“,第150行在makedirs中文件” os.pyc“,第157行在makedirs中OSError:[Errno 13]权限被拒绝:'/ Users / mac'
请注意我用粗体强调的行:给出了Dropbox的错误路径。应该/Users/ichigo
改为