You are not logged in.

#1 2013-07-01 09:15:13

kurt
Member
Registered: 2009-09-06
Posts: 140

[Solved] Unable to read dir

I have a dir thats shows up in dolphin (I'm useing kde4).

It shows up on the command line using ls.

I'm the owner and its permissions are drwxr-xr-x

But I can't do anything with.

In dolphin I double try to enter and it says the file or folder doesn't exist. From the command line it says No such file or directory.

I've logged out and used the F1 terminal to login as root and have unmounted the partition (the dir is in /home) and done a fsck -t ext4 /dev/sdb1. This reports no errors.

I'm at a lost as to what to do next. Any ideas.

Last edited by kurt (2013-07-01 11:36:27)

Offline

#2 2013-07-01 09:19:54

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,216
Website

Re: [Solved] Unable to read dir

What is the name of the folder? Are there some weird characters in it?

for F in * ; do echo "|$F|" ; done

Last edited by fukawi2 (2013-07-01 09:20:07)

Offline

#3 2013-07-01 09:42:29

kurt
Member
Registered: 2009-09-06
Posts: 140

Re: [Solved] Unable to read dir

fukawi2 wrote:

What is the name of the folder? Are there some weird characters in it?

for F in * ; do echo "|$F|" ; done

There are no weird characters in it. The folder name is:

iggy & The Stooges (2013) - ready To Die

I ran the command above and it showed nothing at the beginning or the end.

|iggy & The Stooges (2013) - ready To Die|

Offline

#4 2013-07-01 09:59:54

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,216
Website

Re: [Solved] Unable to read dir

Well that is strange... If you rename it (in bash) to something else can you open it in Dolphin then? And rename it back?

Offline

#5 2013-07-01 10:07:54

kurt
Member
Registered: 2009-09-06
Posts: 140

Re: [Solved] Unable to read dir

fukawi2 wrote:

Well that is strange... If you rename it (in bash) to something else can you open it in Dolphin then? And rename it back?

It won't let me do anything with it in bash as insists it dosen't exists:

mv "iggy & The Stooges (2013) - ready To Die" xxxx
mv: cannot stat ‘iggy & The Stooges (2013) - ready To Die’: No such file or directory

cp "iggy & The Stooges (2013) - ready To Die" xxxx
cp: cannot stat ‘iggy & The Stooges (2013) - ready To Die’: No such file or directory

ls -lh
total 3.2G
drwxr-xr-x  2 stephen stephen 4.0K Jul  1 09:29 iggy & The Stooges (2013) - ready To Die

You're confused!! I bamboozled

Offline

#6 2013-07-01 10:54:58

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [Solved] Unable to read dir


This silver ladybug at line 28...

Offline

#7 2013-07-01 11:35:43

kurt
Member
Registered: 2009-09-06
Posts: 140

Re: [Solved] Unable to read dir

Whoa thank you. That worked.

For info

1) ls -i
    57019817 iggy & The Stooges (2013) - ready To Die

2) find . -inum 57019817 -exec mv {} newname \                                                                                                                                                           
    find: `./iggy & The Stooges (2013) - ready To Die': No such file or directory

So now I have a dir called newname (the cons of cut & paste) that I can now CD into and the iggy dir is no more.

Once more thank you

Offline

Board footer

Powered by FluxBB