Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 10-11-2004, 01:05 PM   #1
LQ Newbie
Registered: Apr 2003
Posts: 8

Rep: Reputation: 0
Unable to delete folder

I have a user that reated a folder and the folder is now not showing up. I do an ls -ltra and I receive the following:

drwxr-xr-x 2 admin site2 1024 Jun 30 08:04 11

So I want to remove it and I use

rm -rf 11

And I get nothing so I do an ls -ltra again and receive the folder still being there.

drwxr-xr-x 2 admin site2 1024 Jun 30 08:04 11

So I try a rmdir

and I receive the following

rmdir 11
rmdir: 11: No such file or directory

The folder shows up via the web page, and you can actually go into the folder. If you try FTP or command line you end up with errors.

cd 11
sh: 11: No such file or directory

Any Ideas how to remove this folder?

Old 10-11-2004, 01:44 PM   #2
Registered: Aug 2002
Posts: 13,129

Rep: Reputation: 1057Reputation: 1057Reputation: 1057Reputation: 1057Reputation: 1057Reputation: 1057Reputation: 1057Reputation: 1057
My first swag would be if the directory didn't show up it is hidden and/or may contain non visible ASCII characters.

Now, if you open up a file browser can you see the directory.
Assuming KDE or the like is running. You might be able to delete it from Konqueor. Midnight Commander i.e. mc is a good tool for this kind of problem.
Old 10-11-2004, 02:07 PM   #3
LQ Newbie
Registered: Apr 2003
Posts: 8

Original Poster
Rep: Reputation: 0
It is a samba or file system machine. It is actually a web server. Which is what is odd.



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
seems like I delete my /etc folder. bladehaze Debian 9 09-12-2005 11:47 AM
How do I delete a folder and everything in it? wuya Linux - Newbie 3 04-22-2005 02:03 PM
can i delete the folder i compile from? whatpot Linux - Newbie 16 04-10-2005 06:54 PM
delete source folder? machiner Linux - Software 2 07-27-2004 03:37 PM
I just delete the /lib folder :( Boogieman Linux - Software 8 07-13-2004 05:06 PM

All times are GMT -5. The time now is 02:38 AM.

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