From 146122a0ecc8b35263e9d4bfd968535e06456ad7 Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Wed, 15 May 2019 17:51:55 +0200 Subject: for-group script using internal chmod Until now, the `for-group' script was using the system's `chmod' at the end of its operation. But when `for-group' reaches this level, we already have our own custom `chmod'. With this commit, for a consistent operation, we are now using our custom `chmod' program for this final step. --- .file-metadata | Bin 5991 -> 5898 bytes for-group | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.file-metadata b/.file-metadata index 3927158..065d3df 100644 Binary files a/.file-metadata and b/.file-metadata differ diff --git a/for-group b/for-group index 6c82910..e5c55f9 100755 --- a/for-group +++ b/for-group @@ -110,5 +110,5 @@ sg "$1" "umask u+r,u+w,g+r,g+w,o-r,o-w,o-x && $script $options" # to all installed software files. if [ "x$2" = xconfigure ]; then echo "Enabling group writing permission on all installed software..." - chmod -R g+w .local/; + .local/bin/chmod -R g+w .local/; fi -- cgit v1.2.1