From 0304ca6abbc8d44623030bd1d9cab9fa67c6f179 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Fri, 2 Feb 2024 14:03:43 +0300 Subject: [PATCH] Own : Fix group for root. --- .config/bash/module/Own.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/bash/module/Own.sh b/.config/bash/module/Own.sh index 2f5530b..311c1d2 100644 --- a/.config/bash/module/Own.sh +++ b/.config/bash/module/Own.sh @@ -18,7 +18,7 @@ function own() { fi # If not root, default to users group. - [[ "${user}" = 0 ]] || group="100" + [[ "${user}" = 0 ]] && group="0" || group="100" for file in "${files[@]}"; do # set ownership.