This may look like a weird question, but I just got this output for a file (directory?) in my system. This may be a trivial or well-known error, but for me, this file (directory?) called
ksmserver.notifyrc is a mystery.
[orly at kde-workspace on master]$ rm -fv /home/orly/ksmserver.notifyrc 2:06 rm: cannot remove `/home/orly/ksmserver.notifyrc': Is a directory [orly at kde-workspace on master]$ rm -rfv /home/orly/ksmserver.notifyrc 2:09 rm: cannot remove `/home/orly/ksmserver.notifyrc/kscreenlocker.notifyrc': Permission denied [orly at kde-workspace on master]$ ls -al /home/orly/ksmserver.notifyrc 2:09 ls: cannot access /home/orly/ksmserver.notifyrc/..: Permission denied ls: cannot access /home/orly/ksmserver.notifyrc/kscreenlocker.notifyrc: Permission denied ls: cannot access /home/orly/ksmserver.notifyrc/.: Permission denied total 0 d????????? ? ? ? ? ? . d????????? ? ? ? ? ? .. -????????? ? ? ? ? ? kscreenlocker.notifyrc [orly at kde-workspace on master]$ sudo rm -rfv /home/orly/ksmserver.notifyrc 2:09 [sudo] password for orly: removed `/home/orly/ksmserver.notifyrc/kscreenlocker.notifyrc' removed directory: `/home/orly/ksmserver.notifyrc'
What I'd like to understand is,
- What is
ksmserver.notifyrc- a file or a directory?
- Why does ls display question marks instead of attributes?
- Why does ls list the contents of that file (directory?), but no further?
This is the first time I encounter such kind of output from ls. Any advice is really appreciated!
Fedora Linux 64bit, latest stable release.
Is this maybe a corrupted fs in need of an fsck?