Skip to content

Commit

Permalink
lxd/storage/drivers/zfs: change posixacl to equivalent posix
Browse files Browse the repository at this point in the history
Using `posixacl` as an alias to `posix` (as can be seen here
https://openzfs.github.io/openzfs-docs/man/master/7/zfsprops.7.html#acltype)
leads to `filterRedundantOptions` not filtering out `acltype=posixacl` when comparing it to the current setting `posix`.

Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
  • Loading branch information
hamistao committed Apr 22, 2024
1 parent 9442011 commit 8bfcd93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lxd/storage/drivers/driver_zfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var zfsDefaultSettings = map[string]string{
"setuid": "on",
"exec": "on",
"devices": "on",
"acltype": "posixacl",
"acltype": "posix", // acltype "posix" is equivalent to "posixacl". Set as "posix" to avoid setting it multiple times on ensureInitialDatasets.
"xattr": "sa",
}

Expand Down

0 comments on commit 8bfcd93

Please sign in to comment.