can't take ownership of files

Discussion in 'macOS' started by vix2000, Dec 18, 2010.

  1. vix2000 macrumors regular

    Nov 27, 2010
    This is driving me nuts. When I go into the info for any file the take ownership option is greyed out. As a new mac user I've no idea how to change this. On windows you just right clicked and 'run as administrator' which is all `i want to do, but after 2 hours searching I'm tearing my hair out!!! Help, please
  2. simsaladimbamba

    Nov 28, 2010
  3. Dalton63841 macrumors 65816


    Nov 27, 2010
    Open Terminal and type:

    chown -R "your username":staff "path/to/file"

    Note you can just drag the file into the terminal window and it will automatically drop in the file path.

    Be careful what you change privileges to. If it is greyed out now, then when you are done playing with the file go back to terminal and type:

    chown -R root:wheel "path/to/file"
  4. vix2000 thread starter macrumors regular

    Nov 27, 2010
    I have clicked the lock icon but that didn't do anything. I tried the terminal but don't know if I did it right. I have installed menucalendarclock and there is an option in the advanced display preffs to hide the dock icon. It is greyed out and says this option is only available for administrators, which I thought I was. Hence the attempts to take ownership etc. Its now 2am and I've been trying since 23.30!!!!!! Thanks for all the suggestions. If anyone has this software i'd be grateful for any tips. its not life or death but my dock is getting pretty ful and I don't need this icon there.
  5. mac2x macrumors 65816

    Sep 19, 2009

    ls -lt
    on the directory the file of interest resides in. This will echo the order most recently modified descending, and will also echo the owners and groups.
  6. Hal Itosis macrumors 6502a

    Hal Itosis

    Feb 20, 2010
    Let's go with:
    ls -ltOe
    instead... to see what flags (-O) or ACLs (-e) might be present, which could be causing the resistance that vix2000 is experiencing.
  7. LPZ macrumors 65816

    Jul 11, 2006
    I think we should see if you have an admin account. Open System Preferences and click on Accounts in the System section of the pane. In the Accounts pane, what does it say at the top left under My Account?

Share This Page