69
33
I am trying to do the following on my Mac (10.6.7):
sudo chown myusername:wheel ./entries
but Unix/Mac is returning "Operation not permitted". When I ls -lash
the culprit file, it looks as follows:
8 -rwxrwxrwx 1 myusername staff 394B Apr 26 23:26 entries
I've tried sudo
and sudo su
; nothing works. Any ideas what's up?
I'm trying to chmod
files I've copied from my old Ubuntu box. Most of the files have successfully chmod
'ed recursively; just this one is stuck and I don't understand why.
1Have you tried
sudo chgrp wheel ./entries
? – squircle – 2011-05-04T20:46:08.7431Do a file system check. Open Disk Utility, select your volume, and click Verify Disk, then, if necessary, Repair Disk. – Daniel Beck – 2011-05-04T20:48:47.837
Make sure the file is not locked in Finder (no lock badge on the icon). To change it, open the Get Info dialog and uncheck Locked. – Daniel Beck – 2011-05-04T20:50:25.573
If it is an "external" volume (i.e. not the system volume), you may have to remove the "Ignore ownership on this volume" option. (See at the bottom of the Get Info window for the volume itself). – mivk – 2012-12-16T19:25:42.790