文件夹/ git访问之间的CD权限“拒绝”


0

突然之间,我无法在文件夹之间进行cd存取,也无法访问gir。我只是被拒绝了权限,如下所示:

localhost:Edward user$ cd Documents
-bash: cd: Documents: Permission denied
localhost:Edward user$ ls -la
total 32
drwxr-xr-x+ 15 Edward  staff    510 Oct  8 10:26 .
drwxr-xr-x   6 root    admin    204 Sep  5 09:56 ..
-rw-------   1 Edward  staff      3 May 24  2013 .CFUserTextEncoding
-rw-r--r--@  1 Edward  staff  15364 Jun 21  2013 .DS_Store
drwx------   3 Edward  staff    102 Aug 25  2013 .Trash
drwxr-xr-x   4 Edward  staff    136 Jun 21  2013 Applications
drwx------+  3 Edward  staff    102 May 24  2013 Desktop
drwx------+  5 Edward  staff    170 Jun 21  2013 Documents
drwx------+  7 Edward  staff    238 Jun 21  2013 Downloads
drwx------+ 41 Edward  staff   1394 Sep 28 17:20 Library
drwx------+  3 Edward  staff    102 May 24  2013 Movies
drwx------+  3 Edward  staff    102 May 24  2013 Music
drwx------+  5 Edward  staff    170 Nov 10  2013 Pictures
drwxr-xr-x+  5 Edward  staff    170 May 24  2013 Public
drwxr-xr-x   2 Edward  staff     68 Oct  8 10:28 projects

很卡住吗?


1
显而易见的答案是所使用的登录名不是Edward。尝试id检查。
2014年

是的cd〜并重试-有人弄乱了它。非常感谢
Edward
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.