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?
--
Fedora Users List - The place to go to speculate endlessly