This discussion is locked
Peter Wadsack

Q: Sharing & Permissions:  who is "(unknown)" ???

While trying, unsuccessfully, to have Spotlight search certain drives, I checked the Sharing & Permissions, and discovered that, in addition to "admin", "me", and "everyone", there is someone / something with the name "(unknown)", with permission to "Read & Write".

Furthermore, when I unlock and try to change the permissions, the change does not stick. Nor can I remove this entity; the "-" does not stick, either. Yet, I have full admin privileges.

This entity does not show up on all drives, just some. Yes, I have used Disk Utility to repair permissions; DU claims all is fine.

But I am not happy giving access to (unknown).

Posted on Apr 7, 2008 8:34 AM

Close

Q: Sharing & Permissions:  who is "(unknown)" ???

  • All replies
  • Helpful answers

Previous Page 2
  • by V.K.,

    V.K. V.K. Apr 10, 2008 2:42 PM in response to Peter Wadsack
    Level 9 (56,110 points)
    Apr 10, 2008 2:42 PM in response to Peter Wadsack
    Peter,
    I take it boot_1 and boot_2 are boot partitions? It certainly strikes me as wrong that the admin group has read only rights to them. the default is R+W, I believe.

    You can change that if you wish.

    that can be done by the following command:

    *sudo chmod 775 /Volumes/boot_1 /Volumes/boot_2*


    Now, if you REALLY can't stand having the unknown user around, try this.

    1. make sure you have a bootable or TM backup of your startup volume. If things go south, you'll need it.

    2. add yourself to the staff group. To do this run

    *sudo dscl . -append /groups/staff GroupMembership yourusername*

    Put your username in the above.

    run

    id

    again to make sure you are now a member of staff.

    DO NOT PROCEED if you get errors of any kind.


    3. Switch your gid to 20 (staff).

    To do this, open system preferences->accounts, unlock the lock, right-click on your username and select "Advanced options...".

    In advance options set your group ID to 20 and quit system preferences.

    Run id again to make sure the change took affect.

    4. change the group on your home directory by running

    *sudo chown -R `id -un`:staff ~*

    5. Cross your fingers and restart.

    If everything is working, change the group ownership on your drives with "unknown".


    *sudo chown -R `id -un`:staff /Volumes/third_1*

    and so on.

    Good luck!

    Message was edited by: V.K.
  • by Tony T1,

    Tony T1 Tony T1 Apr 13, 2008 5:09 AM in response to V.K.
    Level 6 (9,225 points)
    Mac OS X
    Apr 13, 2008 5:09 AM in response to V.K.
    when (unknown) is shown as a user, Apple is recommending adding the leading underscore to the group id. As stated, problem stems from Apple going back to staff. The Finder Crashes usually occur if an attempt is made to change the (unknown) user through Inspector: ⌘I.

    Anyway, I had this issue (migrated from Tiger to Leopard), and before Apple posted this article, the only real fix I found was to do an Erase and Install, and manual installation of my programs and a manual copying of my home directory files.
  • by Peter Wadsack,

    Peter Wadsack Peter Wadsack Jun 26, 2008 8:14 AM in response to V.K.
    Level 1 (45 points)
    Jun 26, 2008 8:14 AM in response to V.K.
    V.K. wrote:
    I take it boot_1 and boot_2 are boot partitions?


    yes


    run

    id

    again to make sure you are now a member of staff.


    actually, running id before I did anything showed gid=20(staff) ...


    To do this, open system preferences->accounts, unlock the lock, right-click on your username and select "Advanced options...".


    ahh, there is something I hadn't found before.


    If everything is working, change the group ownership on your drives with "unknown".


    *sudo chown -R `id -un`:staff /Volumes/third_1*


    Strangely, this changed nothing on partition third_1 ...
Previous Page 2