View Full Version : OS X Desktop Problem
BadExample
May 21, 2002, 07:57 PM
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
May 21, 2002, 08:38 PM
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
May 21, 2002, 10:20 PM
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.
Hemingray
May 21, 2002, 11:27 PM
Originally posted by BadExample
There is a little arrow in a circle as well, anyone know hjow I can delete it?
Huh? Where is that showing up?
big
May 21, 2002, 11:59 PM
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
May 22, 2002, 12:01 AM
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
May 22, 2002, 12:10 AM
yeah, note: I just corrected my last post...working on a house renovation and got lost on macrumors again...its late
Rower_CPU
May 22, 2002, 12:13 AM
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
May 22, 2002, 12:22 AM
"illegal option -- r" with rmdir -rf, I should be able to "rmdir -r" htough that didn't work either....
Rower_CPU
May 22, 2002, 12:29 AM
Then rm -rf should remove the folder and contents.
big
May 22, 2002, 12:48 AM
"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
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.