Rename acltype=posixacl to acltype=posix

Prefer acltype=off|posix, retaining the old names as aliases.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #10918
This commit is contained in:
Ryan Moeller
2020-09-16 15:26:06 -04:00
committed by GitHub
parent 9cc177baa0
commit 7ead2be3d2
15 changed files with 39 additions and 35 deletions
@@ -34,7 +34,7 @@
#
# DESCRIPTION:
# Verify that user can access file/directory if acltype=posixacl.
# Verify that user can access file/directory if acltype=posix.
#
# STRATEGY:
# 1. Test access to file (mode=rw-)
@@ -50,7 +50,7 @@ function cleanup
rmdir $TESTDIR/dir.0
}
log_assert "Verify acltype=posixacl works on file"
log_assert "Verify acltype=posix works on file"
log_onexit cleanup
# Test access to FILE
@@ -34,7 +34,7 @@
#
# DESCRIPTION:
# Verify that user can access file/directory if acltype=posixacl.
# Verify that user can access file/directory if acltype=posix.
#
# STRATEGY:
# 1. Test access to directory (mode=-wx)
@@ -43,7 +43,7 @@
#
verify_runnable "both"
log_assert "Verify acltype=posixacl works on directory"
log_assert "Verify acltype=posix works on directory"
# Test access to DIRECTORY
log_note "Testing access to DIRECTORY"
@@ -46,7 +46,7 @@ default_setup_noexit $DISK
log_must chmod 777 $TESTDIR
# Use POSIX ACLs on filesystem
log_must zfs set acltype=posixacl $TESTPOOL/$TESTFS
log_must zfs set acltype=posix $TESTPOOL/$TESTFS
log_must zfs set xattr=sa $TESTPOOL/$TESTFS
log_pass