OS X Desktop Problem

BadExample

macrumors newbie
Original poster
May 20, 2002
16
0
Staten Island, NY
Anyone know how to change the "privleges", i want to delete a folder, and I cannot because i do not have sufficient privleges...
There is a little arrow in a circle as well, anyone know hjow I can delete it?


Thanks
 

Rower_CPU

Moderator emeritus
Oct 5, 2001
11,219
0
San Diego, CA
You can either do it with the Terminal if you're comfortable with that, or get a shareware app such as Batchmod that can do it for you.

You will have to have administrator access to remove files/folders you don't have privileges for.
 

AmbitiousLemon

Moderator emeritus
Nov 28, 2001
3,413
0
down in Fraggle Rock
From SmallDog

OS X and Trash Can

I had a customer write about how he had an error message saying, "You do not
have sufficient privileges for HFS + private Data to empty the Trash."

This is a preemptive warning to be careful what you do in the Terminal mode
of OS X. You could slightly corrupt a file that you'll need to have cleaned
up later, forcing a possible complete reinstallation of your OS X system
software.

The customer wrote back later that day with what he found in Apple's
Knowledge Base as a method of using the Terminal mode to empty the Trash.

1. Open the Terminal Application found in your list of Utilities.
2. Type: sudo rm -rf
NOTE: Type a space after "-rf". The command does not work without the
space.
Do not press Return until Step 6.
3. Open your Trash.
4. Choose Select All from the Edit menu.
5. Drag all of your Trash into the Terminal window. This causes the Terminal
window to automatically fill in the name and location of each item in
your Trash.
6. Press Return.

All of the icons in your Trash are deleted. As an alternative method, you
may execute these commands. The second and third commands will delete Trash
belonging to other users.

The commands are:
sudo rm -rf ~/.Trash/
sudo rm -rf /.Trashes/
sudo rm -rf /Volumes/<columename>/.Trashes/

Then press return and you have emptied the Trash of all users on the
computer as long as you were logged in as the root user.
 

big

macrumors 65816
Feb 20, 2002
1,074
0
rf works on folders if there is not a file in the folder (otherwise you wil get an error) & actually Darwin will ask if you want to rs that directory (folder), you will have to open the folder (often there are hidden folders within each other, that you must "cd" into, finally in the last folder you will have to do a "ls" then "rm *" all files. then "cd /(up one notch)" and "rmdir" what ever folder is there...then "cd /(up one notch)" and "rmdir" that folder... that was the process I had to go through or "rmdir Yourdirectory yourotherdirectory otherdirectory "

to change permission (chmod) from terminal, "cd /Volumes/(directory to your folder you want to change or delete, I suggest going there instead of just doing it)" then "ls" to view all the files& folders in that directory, then "chmod 777 NameOfFile"

pretty easy...and even easier once you do it 12 or 13 times...I'd suggest picking up a Unix book for some basic command lines and theories
 

Rower_CPU

Moderator emeritus
Oct 5, 2001
11,219
0
San Diego, CA
Originally posted by big
rf works on folders if there is not a file in the folder (otherwise you wil get an error), you will have to open the folder (often there are hidden folders within each other, that you must "cd" into, finally in the last folder you will have to do a "ls" then "rm" all files. then "cd /(up one notch)" and "rf" what ever folder is there...then "cd /(up one notch)" and "rf" that folder... that was the process I had to go through

to change permission (chmod) from terminal, "cd /Volumes/(directory to your folder you want to change or delete, I suggest going there instead of just doing it)" then "ls" to view all the files& folders in that directory, then "chmod 777 NameOfFile"

pretty easy...and even easier once you do it 12 or 13 times...I'd suggest picking up a Unix book for some basic command lines and theories
Try rmdir...
 

big

macrumors 65816
Feb 20, 2002
1,074
0
yeah, note: I just corrected my last post...working on a house renovation and got lost on macrumors again...its late
 

Rower_CPU

Moderator emeritus
Oct 5, 2001
11,219
0
San Diego, CA
Originally posted by big
yeah, note: I just corrected my last post...working on a house renovation and got lost on macrumors again...its late
Then try rmdir -rf to delete a folder and it's contents...
 

big

macrumors 65816
Feb 20, 2002
1,074
0
"illegal option -- r" with rmdir -rf, I should be able to "rmdir -r" htough that didn't work either....
 

big

macrumors 65816
Feb 20, 2002
1,074
0
"rm -rf directory" that did it...Darwin is a little bit different than others...that's why I suggested picking up a Unix book to learn the theories behind the command lines
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.