mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 11:47:43 +03:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user