Skip navigation
This discussion is archived

Permissions Problem

4016 Views 20 Replies Latest reply: May 5, 2008 8:11 AM by fayjon99 RSS
1 2 Previous Next
fayjon99 Calculating status...
Currently Being Moderated
May 5, 2008 2:05 AM
Hello all newbie here. I thought I would best post my own question instead of embedding it in another person's question.

I installed Leopard this weekend and now have a permissions problem. The folders of my hard drive are now set to 'custom access', and when I try to delete files, it now asks me for my admin password. This did not happen before in Tiger.

1) The computer normally logs in with my username (I am also the admin).

2) I checked info on the "Macintosh HD" icon, and the sharing and permissions information says "You can read and write", the users in the list below that are: "system" with privileges "read and write", "admin" with privileges "read and write", and "everyone" with priveliges "read only".

3) When I check the folders in the hard drive, eg my pictures, the sharing and permissions information says "You have custom access". The users in the list below that are: "my username (me)" with privilges "read and write", "unknown" with privileges "read only", and "everyone" with privileges "read only".

It seems that the computer does not recognize me as admin? I have run the repair permissions to no avail.

I read the topic:http://discussions.apple.com/thread.jspa?messageID=6890815&#6890815 and ran the terminal suggested by joshz, but nothing changed.

Thank you for your attention.
imac core2duo 17inch 2ghz 2gb ram, Mac OS X (10.5.2)
  • kdb1 Level 3 Level 3 (770 points)
    Currently Being Moderated
    May 5, 2008 2:29 AM (in response to fayjon99)
    MacMini G4, MacMini 1.66, MacBook., Mac OS X (10.5.2)
  • kdb1 Level 3 Level 3 (770 points)
    Currently Being Moderated
    May 5, 2008 3:53 AM (in response to fayjon99)
    It may be easier to back-up what you can and start again with a fresh install.
    MacMini G4, MacMini 1.66, MacBook., Mac OS X (10.5.2)
  • joshz Level 4 Level 4 (3,280 points)
    Currently Being Moderated
    May 5, 2008 4:07 AM (in response to fayjon99)
    I read the topic:http://discussions.apple.com/thread.jspa?messageID=6890815&#6890815 and ran the terminal suggested by joshz, but nothing changed.

    The steps I suggested were diagnostic, and only for your home folder.
    You should run: ls -aleO@ /

    Then you need to post the results of that command up, so we can take a look at them.

    If you used "Apply to enclosed items", however, the only thing you can do is re-install Leopard, or, if you backed up before using it, just restore from that backup.

    Good luck!

    Message was edited by: joshz
    17" iMac 2GHz Intel Core 2 Duo 1G DDR2 SDRAM 667MHz 160GB hard drive, Mac OS X (10.5.2), iMac dual booted to run Windows XP. iPod 5th gen (with video) 30GB.
  • RodneyW Level 4 Level 4 (3,030 points)
    Currently Being Moderated
    May 5, 2008 6:11 AM (in response to fayjon99)
    G'day,

    As a fellow Tiger upgrader - I have experienced this. There are probably two issues:

    1. The "password to delete" issue is probably because you have inadvertently changed permissions in one of your Home folders, and then pushed the changes into the subfolder through the finder. To fix this, follow the directions at:

    http://discussions.apple.com/thread.jspa?messageID=6965077&#6965077

    2, The "unknown" user stems from the fact that Tiger (10.4) used to assign each user to a group that has the same name as the username (i.e. a user "fred" would belong to a group "fred"). Leopard defaults to putting all users into a "staff" group.

    However, when you upgraded, Leopard preserved your group identity... which now means that it is a "custom" permission from the perspective of Leopard.

    The "unknown" part stems from a bug in Leopard permission management that causes groups to be "unknown" unless they have a full name. This can be easily rectified using one of the OS X Server tools (called Workgroup Manager). To fix:

    1) Download and install OS X Server tools from http://www.apple.com/support/downloads/serveradmintools105.html

    2) Run Software update (to make sure that you have the right version of the tools).

    3) Open "Workgroup Manager" (Be careful with this tool! It enables you to directly edit users and groups on your computer)

    4) At the login prompt enter:

    Address: localhost
    User Name: your admin username
    Password: your password


    5) Press connect, and then press ok when WorkGroup Manager warns you that you are on a directory node that is not visible to the network.

    6) You should now see a list of users on the left hand side. There are four buttons. The first button, has a single head, the next has multiple heads, the third is a single rectangle, and the fourth is two rectangles. Click on the multiple heads (representing groups).

    7) Click on the group name that corresponds to your user.

    8) Enter a "Name:" above the short name, and press save.

    9) Exit Workgroup Manager

    10) Do a "get info" on one of the folders. You will now see that the shortname for the group is displayed in place of the "unknown". (If this does not work immediately, it might be necessary to logout and then back in to get the changes to take effect).
    MacBook (2.16 Ghz, 2 GB), Mac OS X (10.5.2), Powerbook G4 12i (867 MHz, 640MB, 10.4.11)
  • RodneyW Level 4 Level 4 (3,030 points)
    Currently Being Moderated
    May 5, 2008 6:40 AM (in response to fayjon99)
    1) Yes it is 1 big line.

    2) The first command (removing ACLs from sub-directories) should restore your ability to rename/delete etc. The renaming of Groups is only really necessary if you are annoyed by having "unknown" in your permissions... (I am a bit obsessive about such things).
    MacBook (2.16 Ghz, 2 GB), Mac OS X (10.5.2), Powerbook G4 12i (867 MHz, 640MB, 10.4.11)
  • RodneyW Level 4 Level 4 (3,030 points)
    Currently Being Moderated
    May 5, 2008 6:59 AM (in response to fayjon99)
    Yes... there is a space between allow (the verb) and list (one of the permission). The third command is simply resetting the permissions for your Public Drop box (to allow you to perform the various actions listed).

    I've never been to PNG.... although I have friends who do some mission work there. Fascinating, beautiful, wild, (occasionally) scary place! It must have been a good experience.
    MacBook (2.16 Ghz, 2 GB), Mac OS X (10.5.2), Powerbook G4 12i (867 MHz, 640MB, 10.4.11)
  • V.K. Level 9 Level 9 (56,120 points)
    Currently Being Moderated
    May 5, 2008 7:27 AM (in response to fayjon99)
    I've seen this one a few times. Some Adobe app creates some files in your home directory which are owned by the system instead of you. This should really never happen but it seems to be benign. the command chmod runs as you and not root which is why it fails on those files. You can run

    sudo chmod -R -N ~

    and then you shouldn't see those messages.
    You'll have to enter your admin password (which you won't see). that's normal.
    Mac Pro 3.2 GHz, Mac OS X (10.5.2), Mac Pro 2.66GHz, powerbook G4 1.5GHz
1 2 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.