From c2de33c6a0112c715545c6e5de02625513d7074f Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Thu, 26 Jan 2012 10:38:18 -0500 Subject: [PATCH] tossed usages of chowngrp, since chown does what it did. added new name for hoople core (nucleus) into the feisty meow snarfer. --- scripts/archival/snarf_feisty_meow.pl | 2 +- scripts/core/common_aliases.txt | 2 +- scripts/core/functions.sh | 9 --------- .../examples/custom_overrides/fred/c_common_aliases.txt | 2 +- 4 files changed, 3 insertions(+), 12 deletions(-) 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 )' -- 2.34.1