We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a95b0c commit 970ad5eCopy full SHA for 970ad5e
2 files changed
tests/10_basic.tst
@@ -21,6 +21,15 @@ function test_dmg_has_correct_permissions() {
21
test $permissions = "-r--------"
22
}
23
24
+function test_dmg_permissions_reflect_allow_other() {
25
+ local mount_dir
26
+ local dmg_file
27
+ read -r mount_dir dmg_file < <(mount_sparsebundle -o allow_other)
28
+ permissions=$(ls -l $dmg_file | awk '{print $1; exit}')
29
+ test $permissions = "-r-----r--"
30
+ umount $mount_dir && rm -Rf $mount_dir
31
+}
32
+
33
function teardown() {
34
umount $mount_dir && rm -Rf $mount_dir
35
tests/20_allow_other.tst
0 commit comments