Toda una jerarquía de directorios mía perdió su información de modo de archivo. P.ej.,
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
Todos los directorios bajo ~/dev
fueron afectados de manera similar. Fue arreglado por un chmod -R 755 ~/dev/*
Pero estoy un poco nervioso porque no sé qué lo causó.
Lo único que habitualmente accede a estos directorios es un rsync, que se inicia con rsnapshot.
¿Algunas ideas?