summaryrefslogtreecommitdiff
path: root/home/xyz
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-10-19 00:17:16 -0700
committerxyz <gky44px1999@gmail.com>2021-10-19 00:17:16 -0700
commit0a563ad3774638e934af60e3708aa7f13455154e (patch)
tree731714fa989f62beaf9a1fd9cb656a6ae57e7f3d /home/xyz
parent9d52ea02509e72778487590ba7cc525b84c95ccf (diff)
chown -h
Diffstat (limited to 'home/xyz')
-rwxr-xr-xhome/xyz/.local/bin/gitmetar2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/gitmetar b/home/xyz/.local/bin/gitmetar
index 535f67ed..f47289b3 100755
--- a/home/xyz/.local/bin/gitmetar
+++ b/home/xyz/.local/bin/gitmetar
@@ -1,6 +1,6 @@
#!/bin/sh
while read -r mod user group path; do
- chown -c "$user:$group" -- "$path"
+ chown -hc "$user:$group" -- "$path"
[ "$mod" -ne 777 ] && chmod -c "$mod" -- "$path"
done < "$1"