lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 9f235b6 14/14: Don't mess with GID or permiss


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 9f235b6 14/14: Don't mess with GID or permissions of $PWD
Date: Sat, 25 Apr 2020 17:43:14 -0400 (EDT)

branch: master
commit 9f235b6e39b966198ed18cb3168dab38677db1fa
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Don't mess with GID or permissions of $PWD
---
 gwc/share_git1.sh | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/gwc/share_git1.sh b/gwc/share_git1.sh
index e41abf9..7765b32 100755
--- a/gwc/share_git1.sh
+++ b/gwc/share_git1.sh
@@ -63,17 +63,11 @@ sudo --user=pulse git -C "$inited" fetch
 # Second method: git-clone, then fix permissions manually--necessary
 # despite '--config core.SharedRepository=group'.
 
-chgrp audio .
-chmod g+ws .
-
 cloned="cloned_bare"
 
 # The crux of this method is 'git clone':
 git clone --jobs=32 --bare --config core.SharedRepository=group 
https://github.com/wxWidgets/zlib.git "$cloned"
-
-# 'git clone' created its files with the intended group (so this:
-#   chgrp -R audio "$cloned"
-# isn't needed), but it didn't make them group writable.
+chgrp -R audio "$cloned"
 # This is better than 'chmod -R g+s' (it affects only directories):
 find "$cloned" -type d -exec chmod g+s {} +
 # Specifying 's' here would cause many 'S' occurrences in 'ls' output:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]