Ed Greshko wrote: > On 12/12/17 19:58, Neal Becker wrote: >> Ed Greshko wrote: >> >>> On 12/11/17 20:11, Neal Becker wrote: >>>> Since last boot, I've got this strange symptom. Filesystem is btrfs. >>>> If I list my home dir with dired under emacs I see: >>>> >>>> -rwxrwxr-x. 1 nbecker nbecker 207 Dec 3 2015 BACKUP.sh >>>> -?????????? ? ? ? ? ? .bash_history >>>> -?????????? ? ? ? ? ? .bash_history >>>> -?????????? ? ? ? ? ? .bash_history >>>> -?????????? ? ? ? ? ? .bash_history >>>> >>>> Attempt to list with ls gives: >>>> /usr/bin/ls: cannot access '/home/nbecker/./.bash_history': No such >>>> file >>>> or directory >>>> >>>> >>>> I think this means there is a directory entry, but the file doesn't >>>> exist? >>>> Any suggestion to most reliably repair the damage? I don't care about >>>> losing the content of this file. >>> >>> I assume you're executing the commands as yourself. If you "su -" and >>> become root do you see any difference? >>> >>> >> No, same result as root >> sudo ls -la . >> [sudo] password for nbecker: >> ls: cannot access '.bash_history': No such file or directory >> ls: cannot access '.bash_history': No such file or directory >> ls: cannot access '.bash_history': No such file or directory >> ls: cannot access '.bash_history': No such file or directory >> ls: cannot access '.bash_history': No such file or directory >> ls: cannot access '.bash_history': No such file or directory >> total 11548 >> ... >> -?????????? ? ? ? ? ? .bash_history >> -?????????? ? ? ? ? ? .bash_history >> -?????????? ? ? ? ? ? .bash_history >> -?????????? ? ? ? ? ? .bash_history >> -?????????? ? ? ? ? ? .bash_history >> -?????????? ? ? ? ? ? .bash_history >> ... > > Very odd that it should repeat the message 6 times..... > > Not that I'm confident this will be any different but how about disabling > selinux temporarily? > > sudo setenforce 0 and then try ls? > > BTW, in case it's not clear, only the file ".bash_history" shows an issue. No difference: sudo ls -laZ /home/nbecker [...] -rwxrwxr-x. 1 nbecker nbecker unconfined_u:object_r:user_home_t:s0 207 Dec 3 2015 BACKUP.sh -?????????? ? ? ? 0 ? ? .bash_history -?????????? ? ? ? 0 ? ? .bash_history -?????????? ? ? ? 0 ? ? .bash_history -?????????? ? ? ? 0 ? ? .bash_history -?????????? ? ? ? 0 ? ? .bash_history -?????????? ? ? ? 0 ? ? .bash_history -rw-r--r--. 1 nbecker nbecker unconfined_u:object_r:user_home_t:s0 18 Oct 8 2014 .bash_logout [...] _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx