Mac ZFS Tip #1: Avoid Prompts for the Admin Password when Writing to ZFS volumesSubmitted by adchen on Fri, 2009/04/03 - 09:15 |
Avoid Prompts for the Admin Password when Writing to ZFS volumes
When you're creating zpools and ZFS volumes you have to be doing it with root privileges, so naturally any volume you create is going to be owned by root. So if you are trying to write to these volumes as your normal Mac login, it's going to prompt for the admin password every time.
The easy fix is just to make yourself the owner of that volume:
# chown -R UserName:GroupName /Volumes/myzpool
If you have multiple users, then use chmod to allow access to other users.
- adchen's blog
- Login to post comments