Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-21-2004, 11:29 PM   #1
Registered: Jan 2004
Posts: 227

Rep: Reputation: 30
can't deleted a folder!

when i try deleting it, it says access denied! wtf, and its on my desktop
so i go under root in terminal, when on my desktop and typed in
rm -rf /folder

nothing happens, the folder is still there!
Old 02-21-2004, 11:33 PM   #2
Registered: Jul 2003
Distribution: Debian Testing
Posts: 180

Rep: Reputation: 30
It's probably a permissions problem. You say it's on your desktop - is that a KDE desktop? A gnome desktop? How did the folder get created? Who owns the folder? Can you delete the folder as root?

A few things:
1: Always post information about your system and all possible information about the situation when asking questions. You should also fill out your distrobution in your profile.
2: you can change ownership of a file like this:
chown username:groupname filename
But you must either be the owner or root.
3: you can change permissions of a file with chmod.
Have a look at the manual pages for chown and chmod:
man chown
man chmod
Old 02-22-2004, 12:03 AM   #3
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
ok, thx


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
INIT.D File deleted from /etc folder deepa_ram Linux - General 1 02-28-2005 10:54 AM
Deleted Folder vkrishn1 Linux - General 3 11-17-2004 10:39 AM
Deleted Pkg-config folder chalewa4bambu Linux - Software 0 02-19-2004 06:36 PM
HELP! I've deleted the /etc/httpd folder Neb Linux - Newbie 6 05-16-2003 07:29 AM
Deleted /boot folder awlad Slackware 9 02-21-2003 05:28 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:04 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