enhancement to spacem macro to not allow non-existent files.
[feisty_meow.git] / customizing / fred / refred.sh
index 725799235669538f521b368a9e40fd40dd878e19..644aa76ab89c5c6ee25f285406e155bec7ff9673 100644 (file)
@@ -3,8 +3,8 @@
 # cleans up the ownership for all my files.
 function refred()
 {
-  chown -R fred:fred /home/fred /home/games /home/archives
-  bash $FEISTY_MEOW_SCRIPTS/files/normal_perm.sh /var/log
+  sudo chown -R fred:fred /home/fred /home/games /home/archives
+  sudo bash $FEISTY_MEOW_SCRIPTS/files/normal_perm.sh /var/log
 }
 
 # this block should execute when the script is actually run, rather