projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b837366
)
more perm mods oy
author
Chris Koeritz
<fred@gruntose.com>
Tue, 7 Nov 2017 23:34:20 +0000
(18:34 -0500)
committer
Chris Koeritz
<fred@gruntose.com>
Tue, 7 Nov 2017 23:34:20 +0000
(18:34 -0500)
scripts/customize/fred/refred.sh
patch
|
blob
|
history
diff --git
a/scripts/customize/fred/refred.sh
b/scripts/customize/fred/refred.sh
index b04be4b5989fa7e61b4e40e50448afd6e6300099..908e3bd5494be376a71abf16bc32e2007f146c4d 100644
(file)
--- a/
scripts/customize/fred/refred.sh
+++ b/
scripts/customize/fred/refred.sh
@@
-25,10
+25,13
@@
function refred()
# special case for archives directory.
if [ -d /z/stuffing -o -L /z/stuffing ]; then
# special case for archives directory.
if [ -d /z/stuffing -o -L /z/stuffing ]; then
- chmod g+rx,o+rx /z
- chmod g+rx,o-rwx /z/stuffing
+
sudo chown fred:fred /z; sudo
chmod g+rx,o+rx /z
+
sudo chown fred:fred /z/stuffing; sudo
chmod g+rx,o-rwx /z/stuffing
pushd /z/stuffing &>/dev/null
pushd /z/stuffing &>/dev/null
- if [ -d archives -o -L archives ]; then group_perm archives; fi
+ if [ -d archives -o -L archives ]; then
+ sudo chown fred:fred archives
+ sudo chmod -R g+rwx archives
+ fi
popd &>/dev/null
fi
popd &>/dev/null
fi