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

folder permissions...

Postby matt_tee on 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?
Level 1
Level 1
Posts: 2
Joined: Thu Jun 28, 2007 6:14 pm

Linux Mint is funded by ads and donations.

Postby Husse on 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.
Don't fix it if it ain't broken, don't break it if you can't fix it
Level 23
Level 23
Posts: 19642
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Postby Boo on 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:

Now where was i going? Oh yes, crazy!
User avatar
Level 8
Level 8
Posts: 2364
Joined: Mon Mar 26, 2007 7:48 am

Return to Newbie Questions

Who is online

Users browsing this forum: 100filloas, Bing [Bot], Festus van Geck, Fred Barclay, M0em, rgand, Skaendo, thekelvingreen and 35 guests