LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 02-22-2004, 12:29 AM   #1
santasballz
Member
 
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-22-2004, 12:33 AM   #2
Zoombie
Member
 
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:
Code:
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:
Code:
man chown
man chmod
 
Old 02-22-2004, 01:03 AM   #3
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
ok, thx
 
  


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


All times are GMT -5. The time now is 05:17 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration