Hi guys,
I just upgraded to FreeNAS-9.3-STABLE-201602031011. I don't know what 9.3 version I was running before, but the "update available" emails were pestering me for months and the first bug in the changelog was #7376.
After the upgrade, I was unable to mv or rsync files to my datasets over NFS. Both would error out with "operation not permitted". I didn't change the permissions on the directories, so it must have been something that changed with the update.
I was prompted by a gui warning to do a `zfs upgrade` on 2 of my 3 pools, although why it wasn't all 3 I don't know. That warning wasn't there previously.
I never noticed it before, but mount now shows my ZFS pools as being mounted with 'nfsv4acls':
Additionally, some of my datasets have the '+' which indicates ACLs:
If I use `setfacl -b` to clear the ACLs on the destination directory, mv and rsync work as they did previous to the upgrade. Currently, setfacl is missing the recursive option, so it's an exercise in frustration to recursively clear all the ACLs in a large dataset.
That also begs the question of how the ACLs were created in the first place. Why do some datasets have the ACLs, but some don't? Does it have anything to do with the "Permission Type" or "Share type" of the pool?
Is there a way to turn off the 'nfsv4acls' mount option on the pool? I'm assuming not as ZFS uses nfsv4 ACLs internally.
Barring that, how do I clear the ACLs recursively? Can it be done via the GUI?
Thanks,
Brad
I just upgraded to FreeNAS-9.3-STABLE-201602031011. I don't know what 9.3 version I was running before, but the "update available" emails were pestering me for months and the first bug in the changelog was #7376.
After the upgrade, I was unable to mv or rsync files to my datasets over NFS. Both would error out with "operation not permitted". I didn't change the permissions on the directories, so it must have been something that changed with the update.
I was prompted by a gui warning to do a `zfs upgrade` on 2 of my 3 pools, although why it wasn't all 3 I don't know. That warning wasn't there previously.
I never noticed it before, but mount now shows my ZFS pools as being mounted with 'nfsv4acls':
Code:
FatZ on /mnt/FatZ (zfs, local, nfsv4acls)
Additionally, some of my datasets have the '+' which indicates ACLs:
Code:
drwxrwxr-x+ 58 nobody windows 58 Feb 10 21:25 TV
If I use `setfacl -b` to clear the ACLs on the destination directory, mv and rsync work as they did previous to the upgrade. Currently, setfacl is missing the recursive option, so it's an exercise in frustration to recursively clear all the ACLs in a large dataset.
That also begs the question of how the ACLs were created in the first place. Why do some datasets have the ACLs, but some don't? Does it have anything to do with the "Permission Type" or "Share type" of the pool?
Is there a way to turn off the 'nfsv4acls' mount option on the pool? I'm assuming not as ZFS uses nfsv4 ACLs internally.
Barring that, how do I clear the ACLs recursively? Can it be done via the GUI?
Thanks,
Brad