From: Chris Koeritz Date: Thu, 26 Jan 2012 15:38:18 +0000 (-0500) Subject: tossed usages of chowngrp, since chown does what it did. X-Git-Tag: 2.140.90~1656^2~17 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=c2de33c6a0112c715545c6e5de02625513d7074f;p=feisty_meow.git tossed usages of chowngrp, since chown does what it did. added new name for hoople core (nucleus) into the feisty meow snarfer. --- diff --git a/scripts/archival/snarf_feisty_meow.pl b/scripts/archival/snarf_feisty_meow.pl index 2cb1d847..f9e832a7 100644 --- a/scripts/archival/snarf_feisty_meow.pl +++ b/scripts/archival/snarf_feisty_meow.pl @@ -52,7 +52,7 @@ local($root) = &canonicalize("$HOME/feisty_meow"); &backup_hierarchy($base, $number, $root, "scripts"); # get all C++ code project hierarchies. -&backup_hierarchy($base, $number, "$root", "core"); +&backup_hierarchy($base, $number, "$root", "nucleus"); &backup_hierarchy($base, $number, "$root", "octopi"); &backup_hierarchy($base, $number, "$root", "graphiq"); diff --git a/scripts/core/common_aliases.txt b/scripts/core/common_aliases.txt index 0fdf30bc..e3886e73 100644 --- a/scripts/core/common_aliases.txt +++ b/scripts/core/common_aliases.txt @@ -36,7 +36,7 @@ rmdir='perl $SHELLDIR/files/zapdirs.pl' rd='perl $SHELLDIR/files/zapdirs.pl' #regen-- this might be better as a function. regenerate='bash $SHELLDIR/core/bootstrap_shells.sh ; perl $SHELLDIR/core/generate_aliases.pl ; echo ; nechung' -reroot='chowngrp -R root /root' +reroot='chown -R root:root /root' dvd_rip='vobcopy -m' rm='perl $SHELLDIR/files/safedel.pl' ren='\mv -v -i ' diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index bf92a58d..8c9cc2d6 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -6,15 +6,6 @@ if [ ! -z "$SHELL_DEBUG" ]; then echo function definitions begin... fi -# applies a chown and a chgrp to the files specified, but the user name must -# have a private group of the same name for this to work. -function chowngrp { - chown $* -# $2 $3 $4 $5 $6 $7 $8 $9 - chgrp $* -# $2 $3 $4 $5 $6 $7 $8 $9 -} - # makes a directory of the name specified and then tries to change the # current directory to that directory. function mcd { diff --git a/scripts/examples/custom_overrides/fred/c_common_aliases.txt b/scripts/examples/custom_overrides/fred/c_common_aliases.txt index ec8c5fa8..83c32e35 100644 --- a/scripts/examples/custom_overrides/fred/c_common_aliases.txt +++ b/scripts/examples/custom_overrides/fred/c_common_aliases.txt @@ -2,7 +2,7 @@ moo='check_mount /z/stuffing ; check_mount /z/walrus ; check_mount /z/chunky ' unmoo='umount /z/stuffing ; umount /z/walrus ; umount /z/chunky ' -refred='(chowngrp -R fred /home/fred /usr/local/games /home/archives /fatty /clutterato /var/spool/mail/fred ; normal_perm /var/log )' +refred='(chown -R fred:fred /home/fred /usr/local/games /home/archives /fatty /clutterato /var/spool/mail/fred ; normal_perm /var/log )'