jannx

Q: why does finder ask for password while logged in as admin

I am the sole user of my computer. I am the "admin account". Since installing Yosemite 10.10.5 I am now asked for a password each time I wish to make any changes to files or documents. See attached screen shot. I am attempting to add a red tag to this folder. Finder wants a password. How do I resolve the finder asking for a password for each change? Thanks

 

about this computer.jpg

log in as admin finder asks for password.jpg

Posted on Dec 19, 2015 3:02 PM

Close

Q: why does finder ask for password while logged in as admin

  • All replies
  • Helpful answers

  • by BobHarris,

    BobHarris BobHarris Dec 19, 2015 3:24 PM in response to jannx
    Level 6 (19,410 points)
    Mac OS X
    Dec 19, 2015 3:24 PM in response to jannx

    Are these files and documents in your home folder tree?  Or are these files somewhere else on the system?

     

    The "admin" user vs a "standard" user.

    The admin user is a member of a few more groups:

     

      33(_appstore)

      79(_appserverusr)

      80(admin)

      81(_appserveradm)

      98(_lpadmin)

      204(_developer) # this could be because I installed XCode

     

    The more interesting one, being the 'admin' group, which gives me the right to run the 'sudo' command and to enter my password to authorization dialog boxes.

     

    If and ONLY if a file has one of the above groups listed as the file's group, will that file give an admin user permissions group permission access that a standard user may not be able to get.

     

    Otherwise an admin user and a standard user are not treated any differently during normal usage.

     

    So if the files you are trying to access are suppose to be your own (as in they are in your home folder tree), then that is a reason to wonder why your account cannot do anything to them without entering your admin password.

     

    Select the file, and then Finder -> File -> Get Info -> Sharing & Permissions.  Who is the file's owner and what permissions have been granted to the differnet 'name' entries?

     

    If you want to use the Terminal, you can use the command

    /bin/ls -dleO@ /path/to/the/file

     

    If they are files outside your home folder tree, then they most likely are owned by some other OS X system account and you need elevated privileges to do things with those files, hence the need to enter your admin password to an authorization dialog box.

     

    So it is important to know what files you are being asked to authenticate.

  • by jannx,

    jannx jannx Dec 19, 2015 11:48 PM in response to BobHarris
    Level 1 (8 points)
    iTunes
    Dec 19, 2015 11:48 PM in response to BobHarris

    Hi Bob, thanks for taking time to reply.

     

    My Mac’s set up was based on Snow Leopard 10.06.08 until I did the update to Yosemite 2 months back. I  usually wait for updates to be ironed out prior to installing on  my computer. I felt Yosemite was pretty much solid as an operating system so I updated.

     

    My computer is not connected to any systems or other computers it is my stand alone personal computer. I run two Western Digital My Book (for Mac) external hard drives one of 3TB and one of 8 TB. The problem has shown on the 3TB HD. Since posting I have ‘re checked’ the issue to try and recreate the finder notification requesting a “password”. Currently the notice is not coming up. So all is good. However this has happened before. I will wait and see if it arises again and if it does I will take another screen shot.

     

    Thanks for your time and thoughtful response. I’m sure we’re both slightly mystified by this but I have no clue as to the reason.

     

    regards

     

    Jan

  • by BobHarris,Apple recommended

    BobHarris BobHarris Dec 20, 2015 8:25 AM in response to jannx
    Level 6 (19,410 points)
    Mac OS X
    Dec 20, 2015 8:25 AM in response to jannx

    Check if the external disk is set to Owners Enabled?  You can use Disk Utility to find this information

     

    Screen Shot 2015-12-20 at 11.20.14 AM.png

     

    If "Yes", then you need to see if the other external disk is "Yes" or "No".

     

    If it is "No", then I am surprised you are being asked to authenticate.

     

    If it is "Yes", then it matters who the owner of the files are and the permissions on those files.  Also if the other external is "No" and your problem external is "Yes" then chances are changing yours to "No" will cure the problem.

     

    At this point you need to know the setting of the "Owners Enabled", and if "Yes" for both externals, what the ownership and permissions of the files that work vs the ones that do not work.

     

    Changing the Owners Enabled should be an option in Disk Utility, but it is also available from a Terminal session diskutil command line.

  • by Eric Root,

    Eric Root Eric Root Dec 20, 2015 9:02 AM in response to jannx
    Level 9 (71,175 points)
    iTunes
    Dec 20, 2015 9:02 AM in response to jannx

    User File Ownership - Reset   see post by Linc Davis

     

    You may need to rebuild permissions on your user account. To do this,boot to your Recovery partition (holding down the Command and R keys while booting) and open Terminal from the Utilities menu. In Terminal, type:  ‘resetpassword’ (without the ’s), hit return, and select the admin user. You are not going to reset your password. Click on the icon for your Macs hard drive at the top. From the drop down below it select the user account which is having issues. At the bottom of the window, you'll see an area labeled Restore Home Directory Permissions and ACLs. Click the reset button there. The process takes a few minutes. When complete, restart.   

     

    Repair User Permissions

  • by jannx,

    jannx jannx Dec 20, 2015 5:02 PM in response to BobHarris
    Level 1 (8 points)
    iTunes
    Dec 20, 2015 5:02 PM in response to BobHarris

    Hi Bob, fwiw I checked the settings for the discs are "owner enabled" they are.

    Mac hd - 3tb - 8tb owner enabled.jpg

  • by jannx,

    jannx jannx Dec 20, 2015 5:04 PM in response to Eric Root
    Level 1 (8 points)
    iTunes
    Dec 20, 2015 5:04 PM in response to Eric Root

    Eric thanks for the reply and process. I will wait before trying this since the situation seems to have somehow corrected itself. What is different I have not been able to determine..

     

    Jan

  • by BobHarris,Apple recommended

    BobHarris BobHarris Dec 20, 2015 6:08 PM in response to jannx
    Level 6 (19,410 points)
    Mac OS X
    Dec 20, 2015 6:08 PM in response to jannx

    With Owner Enabled external disks, file ownership and permissions are followed, which means even an admin account needs to be granted permission to access a file, or in the case of an Admin if not granted normal access, it must get elevated privileges by entering its password.

     

    If you start having this problem again, you should look at the owner and permissions of the file in question and see who is the owner and what access is allowed for you.

  • by jannx,

    jannx jannx Dec 22, 2015 11:27 PM in response to BobHarris
    Level 1 (8 points)
    iTunes
    Dec 22, 2015 11:27 PM in response to BobHarris

    Hi Bob

     

    it’s Jan and I now have a curve ball thrown at me. Maybe you can explain this ‘logic’

     

    I have two screen caps.

     

    The first shows my screen (in list format) as I tried to transfer two files from my 3TB to my 8TB hard drive. As you can see there is a notice requiring a password from me even though I must provide a password to log in. Not sure why there is a need to provide this a second time but we’ve beaten that one up already and don’t have a good answer.

     

    The second screen cap shows my screen (in icon format) as I transfer the same two files from my 3TB to my 8TB hard drive. As you can see no notice appears when I perform the move. There is no need for a password and the files move directly to the 8TB hard drive.

     

    Obviously I will now use this method to avoid the password notification I get when I am in “list format”

    Any idea what is happening here? I’m stumped.

     

    Jan

    export denied in list format.jpgexport permitted in icon format.jpg

  • by BobHarris,

    BobHarris BobHarris Dec 23, 2015 6:25 AM in response to jannx
    Level 6 (19,410 points)
    Mac OS X
    Dec 23, 2015 6:25 AM in response to jannx

    Did you authenticate for the first transfer, or cancel?

     

    If you did the authentication, then that authentication will remain in effect for 5 minutes.

     

    Does that explain what you are seeing with respect to list view vs icon view?

     

    If you want to get to the bottom of why you are being asked for authentication you will need to look at the ownership and permissions on the destination folder, as well as the source folder and source files to be sure you are are not allowed to move or copy things or if you need authentication to get elevated privileges.

  • by jannx,

    jannx jannx Dec 23, 2015 11:24 AM in response to BobHarris
    Level 1 (8 points)
    iTunes
    Dec 23, 2015 11:24 AM in response to BobHarris

    Morning Bob!

    Based on your comments, I have added myself to the 'permissions' profile of the 3 & 8 TB external HD's . Next I went to the Mac HD and also added myself. I now have read/write permissions for all three HD’s . Hopefully this will solve the situation.

     

    You asked “Did you authenticate for the first transfer, or cancel?” I did not authenticate for the first transfer that I recall. I was looking for a workaround and remembered I had done this once before.

     

    I have an incidental question deriving from the permissions for the HD’s.

     

    I took a screenshot of permissions prior and post updating. You will see the Mac HD has a “wheel” permission. I did nothing to that setting. I then did a search for ‘mac wheel permission’ and your comments came up.  https://discussions.apple.com/thread/2210858?start=0&tstart=0

     

    If you look at the “prior” 8TB screenshot you will see ‘wheel - permission: read write’. On the ‘post’ screenshot you will see that I removed that permission.

    My question after reading the link where you commented on the ‘wheel’; is “how do I restore this setting?” or do I need to restore it? You see that there was no such permission for the 3TB HD so I’m now not sure how all this should be set up. Should I have a permission showing “wheel” for both of the external HD’s or is it superfluous? Also the 'wheel' permission is "read only" should it show as "read / write"?

     

    Additionally the Mac HD and 8TB have “system permission: read / write” however the 3TB has no system permission.

    I’m looking for a logic here and it’s escaping me. Any thoughts or help's appreciated

     

    Permissions prior to update .png

    Post permissions at - 2015-12-23 at 2.21.32 PM.png

  • by BobHarris,Helpful

    BobHarris BobHarris Dec 24, 2015 7:17 AM in response to jannx
    Level 6 (19,410 points)
    Mac OS X
    Dec 24, 2015 7:17 AM in response to jannx

    Hopefully you did NOT Apply permissions to enclosed folder on your System disk.  This is a good way to break your system.

     

    If you want to play with permissions on the external disks (assuming they are NOT bootable clones), that is fine

    If you want to play with permissions in your own home folder, that is fine (but there are a few folders that have specific permissions, but if you mess with them it is unlikely to really affect you, as very few people actually use their Macs in a multi-user environment).

     

    Restoring default permissions.  Disk Utility -> Repair Permissions should do it.

  • by jannx,

    jannx jannx Dec 24, 2015 7:22 AM in response to BobHarris
    Level 1 (8 points)
    iTunes
    Dec 24, 2015 7:22 AM in response to BobHarris

    Bob, thanks for the help. Have a Merry / Happy 2016!

     

    Jan