Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Deleting items that are owned by root?

Deleting items that are owned by root?
Thread Tools
Forum Regular
Join Date: Dec 2002
Location: NYC, NY
Status: Offline
Reply With Quote
Aug 14, 2003, 02:46 PM
 
In reinstalling Jaguar on my iBook i chose the Archive Option. Now I have sustems files on my computer that are just taking up space(space i desperatly need). But when i try to delete it says I can because I don't have root access. How do I get around this and delete them?

Thanx,
Chad
13" Aluminum Macbook
16gig iPhone 4
     
Dedicated MacNNer
Join Date: May 2003
Location: Atlanta, GA
Status: Offline
Reply With Quote
Aug 14, 2003, 02:50 PM
 
Originally posted by ChadC:
In reinstalling Jaguar on my iBook i chose the Archive Option. Now I have sustems files on my computer that are just taking up space(space i desperatly need). But when i try to delete it says I can because I don't have root access. How do I get around this and delete them?

Thanx,
Chad
If it's the "Previous Systems" folder... do this:

Open terminal, type the following:

sudo rm -rf /Prev*

It'll ask for your admin password, and go nuts.

However, make SURE before you do this that there isn't another folder/file that starts with "Prev". If there is change the command to:

sudo rm -rf '/Previous Systems'

That'll do it. Keep in mind that rm is NOT a trash command... your files WILL BE LOST FOREVER once you do this. Use at your own risk.
Alex

G7 Software: home Tetrinet Aqua
-----
"Utopia" 1Ghz TiBook SuperDrive w/ 1Gb RAM.
     
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status: Offline
Reply With Quote
Aug 14, 2003, 03:13 PM
 
Or you can simply change the privileges of the folder using Get Info. Change the owner to yourself.
Vandelay Industries
     
Dedicated MacNNer
Join Date: May 2003
Location: Atlanta, GA
Status: Offline
Reply With Quote
Aug 14, 2003, 04:14 PM
 
Originally posted by Art Vandelay:
Or you can simply change the privileges of the folder using Get Info. Change the owner to yourself.
HAH!

You and your simplicity can kiss my a**.

Seriously though, good pointing that out, I'd completely forgotten...

I'm probably pemanently entrenched in sysadmin "the commandline can solve anything" mode.

Good tip!
Alex

G7 Software: home Tetrinet Aqua
-----
"Utopia" 1Ghz TiBook SuperDrive w/ 1Gb RAM.
     
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status: Offline
Reply With Quote
Aug 14, 2003, 04:30 PM
 
Originally posted by juanpacolopez:
HAH!

You and your simplicity can kiss my a**.

Seriously though, good pointing that out, I'd completely forgotten...

I'm probably pemanently entrenched in sysadmin "the commandline can solve anything" mode.

Good tip!
Vandelay Industries
     
ChadC  (op)
Forum Regular
Join Date: Dec 2002
Location: NYC, NY
Status: Offline
Reply With Quote
Aug 15, 2003, 07:18 AM
 
Thanks guys!

I figured it was something in the Get Info panel, but I saw it wasn't locked and didn't think anything else of it. Well, learn something new everyday.

juanpacolopez:
it seems like you know a lot about UNIX and its commands. Do you have any pointers of where I can get started in learning the commands and how they can help me?

Thanx,
Chad
13" Aluminum Macbook
16gig iPhone 4
     
Dedicated MacNNer
Join Date: May 2003
Location: Atlanta, GA
Status: Offline
Reply With Quote
Aug 15, 2003, 10:06 AM
 
Originally posted by ChadC:
Thanks guys!

I figured it was something in the Get Info panel, but I saw it wasn't locked and didn't think anything else of it. Well, learn something new everyday.

juanpacolopez:
it seems like you know a lot about UNIX and its commands. Do you have any pointers of where I can get started in learning the commands and how they can help me?

Thanx,
Chad
This isn't specific to X, but:

http://www.freebsd.org/doc/en_US.ISO...ook/index.html

The FreeBSD handbook is an excellent place to learn the basics of BSD-like environments (of which OSX is a derivative).

Also, the UNIX forum right here on MacNN is full of incredibly helpful people (most of the time).

Oh yeah, if you're at all interested in learning the *nix-y side of X, you need fink (quickly):

http://fink.sourceforge.net/

Download the latest copy, install it (and install the, now included, FinkCommander). Use FinkCommander as a graphical (and extremely easy) way to install thousands of common free source (much of it commandline) software ported to X from Linux/FreeBSD/etc.

Finally, if you have questions about a specific command, type the following on the commandline:

man <your-command>

Where <your-command> is replaced by whatever command you want info on, i.e.:

man rm

Would give you the lowdown on the rm command I pointed out in my previous post.

Enjoy! One of the great things about X is that it lets you be geeky w/ your *nix when you want to be, but you don't HAVE to just to get things done
Alex

G7 Software: home Tetrinet Aqua
-----
"Utopia" 1Ghz TiBook SuperDrive w/ 1Gb RAM.
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:17 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2