LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-27-2012, 05:13 PM   #1
daisychick
Member
 
Registered: Nov 2006
Location: Texas
Distribution: ubuntu 12.04 LTS
Posts: 154

Rep: Reputation: 0
ls shows directory attributes as question marks


ls shows me:
Code:
d?????????   ? ?     ?                 ?                ? backup
I sudo -i and try to chown, chmod, rm, anything... and it tells me I don't have permission. What can I do to delete this directory?
 
Old 04-27-2012, 05:17 PM   #2
CTM
Member
 
Registered: Apr 2004
Distribution: Slackware
Posts: 252

Rep: Reputation: 217Reputation: 217Reputation: 217
This is probably happening because you have read permissions but not execute permissions on the directory - if you're the owner, "chmod +x" should do the trick.

edit: just reread your post - try this:

Code:
sudo chmod a+x /path/to/backup

Last edited by CTM; 04-27-2012 at 05:18 PM.
 
Old 04-27-2012, 05:25 PM   #3
daisychick
Member
 
Registered: Nov 2006
Location: Texas
Distribution: ubuntu 12.04 LTS
Posts: 154

Original Poster
Rep: Reputation: 0
I tried that already. gives me an error
Code:
chmod: cannot access `/backup': Permission denied
 
Old 04-27-2012, 06:52 PM   #4
daisychick
Member
 
Registered: Nov 2006
Location: Texas
Distribution: ubuntu 12.04 LTS
Posts: 154

Original Poster
Rep: Reputation: 0
solved. it was a failed attempt to mount. unmounted and was fine.
 
Old 04-27-2012, 08:23 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Ummm ... if you only unmounted, how do you know it's resolved? Commonly
the "funny output" relates to file-system problems, and getting rid of
those requires a "fsck.XXX /dev/YYY" rather than an unmount.




Cheers,
Tink
 
Old 04-30-2012, 04:19 PM   #6
daisychick
Member
 
Registered: Nov 2006
Location: Texas
Distribution: ubuntu 12.04 LTS
Posts: 154

Original Poster
Rep: Reputation: 0
it was mounted to a windows share that died in the middle of hte night. we lost all the data on the disk. I just assumed that's what caused it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] mplayer shows question marks for some characters on subtitle, works fine on xine beder Slackware 4 10-04-2011 07:25 PM
Using question marks in mod_rewrite kevin-fdc Linux - Server 4 03-16-2010 05:24 PM
Question marks in the directory attributes, need help fixing. jason143 Linux - Software 5 06-22-2009 02:17 AM
question marks show when doing ll abylin1 Linux - Newbie 9 01-15-2008 03:54 PM
Quotes as Question Marks in Thunderbird. Matir Linux - Software 2 07-11-2005 03:54 PM


All times are GMT -5. The time now is 03:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration