LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 01-10-2007, 08:57 AM   #1
gekkos
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Rep: Reputation: 0
cannot delete file


Hi,
I have a directory with these permissions
Code:
# ll
?---------  ? ?   ?      ?                ? mydirectory
Now I cannot delete this directory also not with root
Error I got:
Code:
# rm -rf mydirectory
rm: cannot lstat `mydirectory': Permission denied
Anyone knows how to delete this directory?
Thanks
 
Old 01-10-2007, 09:01 AM   #2
avallach
Member
 
Registered: Sep 2006
Location: Silesia
Distribution: Debian GNU/Linux 4.0, ArchLinux, OpenBSD
Posts: 190
Blog Entries: 2

Rep: Reputation: 31
It looks like an error in your filesystem. Check your partitions..
 
Old 01-10-2007, 03:11 PM   #3
Mithrilhall
Member
 
Registered: Feb 2002
Location: Adamstown, Pitcairn Islands
Distribution: Neon
Posts: 291

Rep: Reputation: 30
Have you tried....


Code:
sudo rm -rf mydirectory
 
Old 01-10-2007, 03:25 PM   #4
gekkos
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Hi,
Its not an error in my filesystem and I did rm -rf as root.
Anyone an idea what the problem can be??
Many thanks
 
Old 01-10-2007, 04:14 PM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,417
Blog Entries: 55

Rep: Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627
Its not an error in my filesystem
It is (and you're prolly running Reiser).
Check partitions like Avallach said anyway.
 
  


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
Delete a file Fredstar Programming 2 10-17-2006 02:36 PM
how to delete a particular file from tar file majalee Linux - Software 2 07-12-2006 04:53 AM
how to delete .file? paschim Linux - General 5 10-20-2004 04:56 PM
Tried to delete file as root but it says I don't have permission to delete it! beejayzed Mandriva 23 03-12-2004 02:46 AM
Delete contents of the file, but not file? mikeshn Linux - General 9 05-28-2003 06:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 08:39 PM.

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
Open Source Consulting | Domain Registration