当我跑步时git pull origin test
,我得到
fatal: unable to connect to cache daemon: Permission denied
然后是 github 用户名和密码的提示。该目录位于我的主文件夹 ( ~/www/software
) 下。有任何想法吗?如果我使用sudo
,它可以工作,但我觉得我不应该在我自己的主文件夹中使用 su !
这是结果ls -l
:
drwxrwxrwx 48 root root 53248 Jan 3 12:10 application
-rw-rw-r-- 1 andrewr andrewr 1458793 Jan 2 10:09 a.txt
-rw-rw-r-- 1 andrewr andrewr 186 Jan 2 10:09 Desktop.ini
-rw-rw-r-- 1 andrewr andrewr 1406 Jan 2 10:10 favicon.ico
-rw-rw-r-- 1 andrewr andrewr 6858 Jan 2 10:10 fb.jpg
-rw-rw-r-- 1 andrewr andrewr 2 Jan 2 10:10 format
-rw-rw-r-- 1 andrewr andrewr 398 Jan 2 10:10 index.php
-rw-rw-r-- 1 andrewr andrewr 16572 Jan 2 10:10 license.txt
-rw-rw-r-- 1 andrewr andrewr 1390 Jan 2 10:10 loginscreen.php
-rw-rw-r-- 1 andrewr andrewr 6424 Jan 2 10:10 md5_login.js
-rw-rw-r-- 1 andrewr andrewr 65 Jan 2 10:10 phpinfo.php
-rw-rw-r-- 1 andrewr andrewr 9202 Jan 2 10:10 readme.html
-rw-rw-r-- 1 andrewr andrewr 101 Jan 2 10:09 README.md
-rw-rw-r-- 1 andrewr andrewr 229 Jan 2 10:09 README.txt
-rw-rw-r-- 1 andrewr andrewr 180467 Jan 2 10:10 svn.ico
-rw-rw-r-- 1 andrewr andrewr 71 Jan 2 10:10 test.php
-rw-rw-r-- 1 andrewr andrewr 46080 Jan 2 10:09 Thumbs.db
-rw-rw-r-- 1 andrewr andrewr 4268 Jan 2 10:10 wp-activate.php
drwxrwxrwx 9 root root 4096 Jan 2 10:10 wp-admin
-rw-rw-r-- 1 andrewr andrewr 40272 Jan 2 10:10 wp-app.php
-rw-rw-r-- 1 andrewr andrewr 274 Jan 2 10:10 wp-blog-header.php
-rw-rw-r-- 1 andrewr andrewr 3982 Jan 2 10:10 wp-comments-post.php
-rw-rw-r-- 1 andrewr andrewr 3444 Jan 2 10:10 wp-config.php
-rw-rw-r-- 1 andrewr andrewr 3087 Jan 2 10:10 wp-config-sample.php
drwxrwxrwx 6 root root 4096 Jan 2 10:10 wp-content
-rw-rw-r-- 1 andrewr andrewr 2684 Jan 2 10:10 wp-cron.php
drwxrwxrwx 8 root root 4096 Jan 2 10:10 wp-includes
-rw-rw-r-- 1 andrewr andrewr 1997 Jan 2 10:10 wp-links-opml.php
-rw-rw-r-- 1 andrewr andrewr 2546 Jan 2 10:10 wp-load.php
-rw-rw-r-- 1 andrewr andrewr 27695 Jan 2 10:10 wp-login.php
-rw-rw-r-- 1 andrewr andrewr 7777 Jan 2 10:10 wp-mail.php
-rw-rw-r-- 1 andrewr andrewr 413 Jan 2 10:10 wp-pass.php
-rw-rw-r-- 1 andrewr andrewr 334 Jan 2 10:10 wp-register.php
-rw-rw-r-- 1 andrewr andrewr 9913 Jan 2 10:10 wp-settings.php
-rw-rw-r-- 1 andrewr andrewr 18545 Jan 2 10:10 wp-signup.php
-rw-rw-r-- 1 andrewr andrewr 3702 Jan 2 10:10 wp-trackback.php
-rw-rw-r-- 1 andrewr andrewr 1834 Jan 2 10:10 x.htaccess.bak
-rw-rw-r-- 1 andrewr andrewr 3266 Jan 2 10:10 xmlrpc.php
几乎所有更改都在application
文件夹内进行