New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Switcher Hangout The place for switchers to discuss their new machines, and how to work with OS X. General support can be had here for newbie stuff, like "How do I restart my new iMac?" :)

Permissions


Post Reply New Thread Subscribe

 
Thread Tools
Corkymann

 
Member Since: Oct 06, 2007
Posts: 1
Corkymann is on a distinguished road

Corkymann is offline
I am trying to delete some files and the message says I don't have sufficient privledges. I go to get info and the read write is not available and I'm the owner/admin (box is checked). What gives?
QUOTE Thanks
mac57

 
mac57's Avatar
 
Member Since: Apr 29, 2006
Location: St. Somewhere
Posts: 4,560
mac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant future
Mac Specs: iMac 27" 3.4 GHz, 256 GB SSD, 2 TB HDD, 8 GB RAM

mac57 is offline
Hi Corkymann, Welcome to Mac-Forums!

You are not alone. This sort of deletion issue happens from time to time for reasons I cannot understand. Happily, there is a simple cure.

For the files in question, here is how to give yourself permission again.

1/ Open a Terminal session (Terminal.app)

2/ Use the "cd" (change directory) command to navigate to the folder that the files of interest are in.

3/ As an example, lets assume that they are a bunch of jpg files you want to delete. Once you are in the folder of interest, enter the following command:

Code:
chmod +w *.jpg
chmod +x *.jpg
That should do it. You should now be able to delete the files. What the above two commands do is give you "write" and "execute" permissions for all of the jpgs (since this example assumes that the files of interest are jpgs - you would use whatever file names and/or types makes sense here) of interest. Write permission should be enough, but I added the execute as well, as a sort of "kill a fly with a sledgehammer" approach.

Let us know if this works.

After this is done, and you no longer have any immediate problem, I would recommend the infamous Repair Permissions treatment to see if you have any more such problems. I normally "poohoo" this treatment, since many people claim it is the solution to everything but world hunger, but in this case, since you have permissions issues, it makes sense to take this last step.

To do this, open Disk Utility (your Utilities folder). Highlight your disk, and you should see an option near the bottom of the right hand side of the screen for "Repair Permissions". Click this and settle back with a coffee or something ... it takes a while. This will find any permissions issues in a reasonable subset of your files (it doesn't do them all, just key ones) and will repair anything that it finds.

My Macs: iMac 27" 3.4 GHz, Mac Pro 3.2 GHz, PowerMac G5 Quad 2.5 GHz, G4 Cube with 1.2 GHz Upgrade
My iStuff: 64GB iPhone 5, 64GB iPad4, 30GB iPod Video, 16GB iPod Touch
My OS': Mac OS X Lion, Mac OS X Snow Leopard, Mac OS X Tiger, Mac OS 9.2.2, openSUSE 10.3
I was on the Mac-Forums honor roll for September 2007
QUOTE Thanks
musicvortex

 
musicvortex's Avatar
 
Member Since: Oct 02, 2007
Location: Canada
Posts: 105
musicvortex is on a distinguished road
Mac Specs: Mac Pro 1,1 / 2x2.66 GHz Dual Core Xeon / 5 GB RAM / OS 10.6

musicvortex is offline
In Windows, when this happens, there is a program called "Unlocker". This is quite common in Windows happening, it seems to be because a program locking handle is still in place on the file, even after the program exits.

I don't know if this is the same on a mac, or if there is an equivalent of the "Unlocker" app for the mac.
QUOTE Thanks
mac747

 
mac747's Avatar
 
Member Since: Sep 01, 2006
Location: Maryland
Posts: 385
mac747 will become famous soon enough
Mac Specs: 2.2GHZ Macbook Pro - 4GB RAM - 500GB HD

mac747 is offline
Just an FYI. You should also be able to combine the commands to the following:

chmod +wx *.jpg

T
QUOTE Thanks
mac57

 
mac57's Avatar
 
Member Since: Apr 29, 2006
Location: St. Somewhere
Posts: 4,560
mac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant future
Mac Specs: iMac 27" 3.4 GHz, 256 GB SSD, 2 TB HDD, 8 GB RAM

mac57 is offline
Quote:
Originally Posted by mac747 View Post
Just an FYI. You should also be able to combine the commands to the following:

chmod +wx *.jpg

T
Agreed. However, I wasn't sure if this was the same between Linux and FreeBSD, on which Mac OS is based, so I spelled them out separately. I wasn't at my Mac at the time so I couldn't test it out.

My Macs: iMac 27" 3.4 GHz, Mac Pro 3.2 GHz, PowerMac G5 Quad 2.5 GHz, G4 Cube with 1.2 GHz Upgrade
My iStuff: 64GB iPhone 5, 64GB iPad4, 30GB iPod Video, 16GB iPod Touch
My OS': Mac OS X Lion, Mac OS X Snow Leopard, Mac OS X Tiger, Mac OS 9.2.2, openSUSE 10.3
I was on the Mac-Forums honor roll for September 2007
QUOTE Thanks

Post Reply New Thread Subscribe


« Apple On-line Sale at Canadian Best-Buy | Odd problem with Finder »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting 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 Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Recurring Repair Permissions message seems worrisome remimonster OS X - Operating System 1 07-12-2007 12:55 PM
Can'y zap Pram, can't repair permissions and more! Manny Pantz OS X - Operating System 6 05-19-2006 08:33 AM
Not too pleased with new iMac JunMacTech Apple Desktops 14 12-05-2005 07:13 PM
repair permissions a waste of time? Macman Schweb's Lounge 5 05-31-2005 06:26 PM
Permissions issue with Home directory koert OS X - Operating System 8 05-23-2005 02:48 PM

All times are GMT -4. The time now is 12:36 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?