Page 1 of 1

Error -8076 when trying to change disk permissions

PostPosted: Mon Feb 06, 2023 6:34 pm
by tiernano
Morning all.

Created a new pool with 5x8Tb drives (ZRAID1) on an M1 Max Mac Book Pro (64Gb RAM). When I right-click on the drive, go to info, tick the lock, click on the plus to add users, and select my username, I get the following error:

Code: Select all
The operation can’t be completed.

Code: Select all
An unexpected error occurred (error code -8076).


When I try to copy files into the folder it is asking me to authenticate, and trying to copy files through the CLI only works when running as sudo. I have tried
Code: Select all
chmod -R 755 *
but still getting the same authentication request. Any idea what I am doing wrong?

Re: Error -8076 when trying to change disk permissions

PostPosted: Mon Feb 06, 2023 10:36 pm
by jawbroken
I never worked out how to do this properly (from back in the ZEVO ZFS days, even) so I just habitually create a folder on the drive and set permissions on that instead, nesting everything under there. Someone probably knows how to do it properly, but that has always worked for me.

Re: Error -8076 when trying to change disk permissions

PostPosted: Tue Feb 07, 2023 1:19 pm
by tiernano
I just tried giving permissions to a folder and it worked perfectly. Happy days! If i could do it for the main pool or even sub pools (I created tank and then tank/archive) then that would be even better...

Re: Error -8076 when trying to change disk permissions

PostPosted: Wed Feb 08, 2023 7:40 am
by Arne
When I create a new pool I change the owner of the pool and the datasets as the first step after creating them:

Code: Select all
sudo chown -R $USER /Volumes/zfs


I guess only setting the permissions will leave the user to "root" and you will get asked each time you want to access the pool/datasets.