export EVERYONE="$STAFF1 $STAFF2 $OTHER1 $OTHER2"
-export LOCAL_SET="snapshot"
-export LOCAL_DESC_SET="readonly,checksum"
-export DESC_SET="compression"
+#
+# 'readonly' is disabled for Linux because it requires remounting the
+# filesystem which is restricted to root for older versions of mount(8).
+#
+if is_linux; then
+ LOCAL_SET="snapshot"
+ LOCAL_DESC_SET="checksum"
+ DESC_SET="compression"
+else
+ LOCAL_SET="snapshot"
+ LOCAL_DESC_SET="readonly,checksum"
+ DESC_SET="compression"
+fi
+export LOCAL_SET
+export LOCAL_DESC_SET
+export DESC_SET
export TESTVOL=testvol.delegate
export VOLSIZE=150m