folder permissions...

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
matt_tee
Level 1
Level 1
Posts: 2
Joined: Thu Jun 28, 2007 6:14 pm

folder permissions...

Postby matt_tee » Mon Jul 02, 2007 4:49 am

Hi all, can you help me?

How do i change folder permissions, to allow me to delete a folder?

It says 'you are not the owner, so you cannot change these permissions'

i have tried the chmod command as root in terminal, but cannot get it to work, am i doing something wrong?

Husse
Level 23
Level 23
Posts: 19593
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Postby Husse » Mon Jul 02, 2007 6:13 am

Why do you want to delete a folder not in your /home?
Normally you should not do that...

Code: Select all

sudo rm /path_to_your_folder/your_folder

Don't do this unless you are sure you can delete the folder!
//edit//After Boo's post I see the typo - rmdir not rm :)/
Last edited by Husse on Mon Jul 02, 2007 4:15 pm, edited 1 time in total.
Image
Don't fix it if it ain't broken, don't break it if you can't fix it

User avatar
Boo
Level 8
Level 8
Posts: 2363
Joined: Mon Mar 26, 2007 7:48 am

Postby Boo » Mon Jul 02, 2007 8:37 am

the commands are

rmdir /path/to/directory

if the folder is not empty use.

rm -rf /path/to/file_or_dir

use sudo if you really want to get rid of stuff.

but you are warned one wrong move and you system is gone. :twisted:

:D
Image
Now where was i going? Oh yes, crazy!


Return to “Newbie Questions”

Who is online

Users browsing this forum: hinto and 12 guests