我的整个目录层次结构都丢失了其文件模式信息。例如,
ed@bob:~/dev$ ls -l nir.git/
ls: cannot access nir.git/test: Permission denied
ls: cannot access nir.git/log: Permission denied
ls: cannot access nir.git/config: Permission denied
ls: cannot access nir.git/app: Permission denied
ls: cannot access nir.git/Gemfile: Permission denied
ls: cannot access nir.git/tmp: Permission denied
ls: cannot access nir.git/db: Permission denied
ls: cannot access nir.git/doc: Permission denied
ls: cannot access nir.git/Rakefile: Permission denied
ls: cannot access nir.git/Gemfile.lock: Permission denied
ls: cannot access nir.git/lib: Permission denied
ls: cannot access nir.git/public: Permission denied
ls: cannot access nir.git/mkcoffee.sh: Permission denied
ls: cannot access nir.git/vendor: Permission denied
ls: cannot access nir.git/README: Permission denied
ls: cannot access nir.git/script: Permission denied
ls: cannot access nir.git/resttest.sh: Permission denied
ls: cannot access nir.git/config.ru: Permission denied
total 0
d????????? ? ? ? ? ? app
d????????? ? ? ? ? ? config
-????????? ? ? ? ? ? config.ru
d????????? ? ? ? ? ? db
d????????? ? ? ? ? ? doc
-????????? ? ? ? ? ? Gemfile
-????????? ? ? ? ? ? Gemfile.lock
d????????? ? ? ? ? ? lib
d????????? ? ? ? ? ? log
-????????? ? ? ? ? ? mkcoffee.sh
d????????? ? ? ? ? ? public
-????????? ? ? ? ? ? Rakefile
-????????? ? ? ? ? ? README
-????????? ? ? ? ? ? resttest.sh
d????????? ? ? ? ? ? script
d????????? ? ? ? ? ? test
d????????? ? ? ? ? ? tmp
d????????? ? ? ? ? ? vendor
下的所有目录 ~/dev
都受到了类似的影响。它已被修复,chmod -R 755 ~/dev/*
但我有点紧张,因为我不知道是什么原因造成的。
唯一定期访问这些目录的是一个 rsync,它由 rsnapshot 启动。
有任何想法吗?