diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-06-04 16:24:49 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-06-04 16:24:49 -0400 |
commit | 0410d8ee2575158686767ae0b0a7ad46d1ea54eb (patch) | |
tree | ae25940a5cbe1a64d0937531f08a23e2639fecc3 /tests/stddirs.sh | |
parent | d6c2c94896c4e9f49e187f6c7b0f0d376a2d02ac (diff) | |
download | bfs-0410d8ee2575158686767ae0b0a7ad46d1ea54eb.tar.xz |
tests: Add directories with different permissions to perms/
Diffstat (limited to 'tests/stddirs.sh')
-rw-r--r-- | tests/stddirs.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/stddirs.sh b/tests/stddirs.sh index 8f8440d..b908ebe 100644 --- a/tests/stddirs.sh +++ b/tests/stddirs.sh @@ -14,13 +14,13 @@ make_basic() { # Creates a file+directory structure with various permissions for tests make_perms() { - "$XTOUCH" -p -M000 "$1/0" - "$XTOUCH" -p -M444 "$1/r" - "$XTOUCH" -p -M222 "$1/w" - "$XTOUCH" -p -M644 "$1/rw" - "$XTOUCH" -p -M555 "$1/rx" - "$XTOUCH" -p -M311 "$1/wx" - "$XTOUCH" -p -M755 "$1/rwx" + "$XTOUCH" -p -M000 "$1/f---" + "$XTOUCH" -p -M444 "$1/fr--" + "$XTOUCH" -p -M222 "$1/f-w-" + "$XTOUCH" -p -M644 "$1/frw-" + "$XTOUCH" -p -M311 "$1/f-wx" + "$XTOUCH" -p -M555 "$1/fr-x" "$1/dr-x/" + "$XTOUCH" -p -M755 "$1/frwx" "$1/drwx/" } # Creates a file+directory structure with various symbolic and hard links |