[opensuse] Re: Can't list home directory

Jan Karjalainen a écrit :
"? d????????? ? ? ? ? ? .gvfs"
"rm -rf" won't remove it, I get "Permission denied" as a root!
if you have a d????????? as permissions it looks corrupted. May be it's a system file, I don't know. You can remove this file - at your own risks- by first changing it's mode (chmod a+rw if it's to be deleted...) jdd -- http://www.dodin.net http://valerie.dodin.org http://www.youtube.com/watch?v=t-eic8MSSfM http://www.facebook.com/profile.php?id=1412160445 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thu, Feb 5, 2009 at 15:56, jdd <jdd@dodin.org> wrote:
I better leave the ".gvfs" directory alone, as it seems it's got something to do with FUSE... But the original problem still exists, I can't make a "ls -a /home/jan" without hanging the console... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thursday 05 February 2009 16:09:45 Jan Karjalainen wrote:
But the original problem still exists, I can't make a "ls -a /home/jan" without hanging the console...
That is stranger. Can you do strace ls -a /home/jan and see where it hangs? Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thu, Feb 5, 2009 at 16:14, Anders Johansson <ajohansson@suse.de> wrote:
Check http://pastebin.com/d38716334 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thu, Feb 5, 2009 at 16:28, Anders Johansson <ajohansson@suse.de> wrote:
Yes, it's strange indeed... "strace ls -a /home/jan" exits normally, but "ls -a /home/jan" hangs immediately... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thursday February 5 2009, Anders Johansson wrote:
My first thought was "exit hung?" Perhaps the place to look is in what BASH is doing after the child process exits. E.g., that "command_not_found_handle" business (presumably not relevant here, since the command _was_ found) or PROMPT_COMMAND, or even something it does apart from user-configurable options or parameters?
Anders
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thursday 05 February 2009 16:42:48 Randall R Schulz wrote:
Na, strace gives that output on my system too, and ls doesn't hang here.
I don't think that would be affected by an strace. The main difference between running with strace and without it, is that strace messes with interrupts. I'm not 100% sure how that plays in here though I'd bugzilla it Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thursday February 5 2009, Anders Johansson wrote:
I didn't give much credence to that "first thought."
That's not what I meant. I mean the hang is occurring in something BASH does after ls exits but before it prints its next PS1 prompt.
...
Anders
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thursday 05 February 2009 15:56:59 jdd wrote:
It is a system file that belongs to the user, root has no rights at all to it. It is not corrupted
You can remove this file - at your own risks- by first changing it's mode (chmod a+rw if it's to be deleted...)
The regular user can delete it without changing anything, root cannot change permissions on it. But if it is deleted, gvfs (the successor to gnome-vfs) will not work as expected Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thu, 2009-02-05 at 16:11 +0100, Anders Johansson wrote:
I see that gvfs-fuse-daemon is mounted here in my directory. If I am running KDE would it be used/needed? I may also run the occasional gnome app, like evolution. -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 8-615 60 20 Mobile: Int +46 70-815 1696 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

jdd wrote:
Looks like /home isn't mounted anymore or the drive with /home on it died. Do a mount to check. I only see ? d????????? stuff when a mounted drive is unavailable and the system thinks it is still mounted. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thu, Feb 5, 2009 at 15:56, jdd <jdd@dodin.org> wrote:
I better leave the ".gvfs" directory alone, as it seems it's got something to do with FUSE... But the original problem still exists, I can't make a "ls -a /home/jan" without hanging the console... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thursday 05 February 2009 16:09:45 Jan Karjalainen wrote:
But the original problem still exists, I can't make a "ls -a /home/jan" without hanging the console...
That is stranger. Can you do strace ls -a /home/jan and see where it hangs? Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thu, Feb 5, 2009 at 16:14, Anders Johansson <ajohansson@suse.de> wrote:
Check http://pastebin.com/d38716334 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thu, Feb 5, 2009 at 16:28, Anders Johansson <ajohansson@suse.de> wrote:
Yes, it's strange indeed... "strace ls -a /home/jan" exits normally, but "ls -a /home/jan" hangs immediately... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thursday February 5 2009, Anders Johansson wrote:
My first thought was "exit hung?" Perhaps the place to look is in what BASH is doing after the child process exits. E.g., that "command_not_found_handle" business (presumably not relevant here, since the command _was_ found) or PROMPT_COMMAND, or even something it does apart from user-configurable options or parameters?
Anders
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thursday 05 February 2009 16:42:48 Randall R Schulz wrote:
Na, strace gives that output on my system too, and ls doesn't hang here.
I don't think that would be affected by an strace. The main difference between running with strace and without it, is that strace messes with interrupts. I'm not 100% sure how that plays in here though I'd bugzilla it Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thursday February 5 2009, Anders Johansson wrote:
I didn't give much credence to that "first thought."
That's not what I meant. I mean the hang is occurring in something BASH does after ls exits but before it prints its next PS1 prompt.
...
Anders
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thursday 05 February 2009 15:56:59 jdd wrote:
It is a system file that belongs to the user, root has no rights at all to it. It is not corrupted
You can remove this file - at your own risks- by first changing it's mode (chmod a+rw if it's to be deleted...)
The regular user can delete it without changing anything, root cannot change permissions on it. But if it is deleted, gvfs (the successor to gnome-vfs) will not work as expected Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thu, 2009-02-05 at 16:11 +0100, Anders Johansson wrote:
I see that gvfs-fuse-daemon is mounted here in my directory. If I am running KDE would it be used/needed? I may also run the occasional gnome app, like evolution. -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 8-615 60 20 Mobile: Int +46 70-815 1696 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

jdd wrote:
Looks like /home isn't mounted anymore or the drive with /home on it died. Do a mount to check. I only see ? d????????? stuff when a mounted drive is unavailable and the system thinks it is still mounted. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Anders Johansson
-
David C. Rankin
-
Jan Karjalainen
-
jdd
-
Randall R Schulz
-
Roger Oberholtzer