From 77891416345e714cd6b1be0828dfaf9e4f17987a Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Fri, 16 May 2014 15:06:07 -0400 Subject: [PATCH] new fortune. added missing sudo for game perm fixer. --- infobase/fortunes.dat | 16 ++++++++++++++++ scripts/files/fix_game_perms.sh | 6 +++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/infobase/fortunes.dat b/infobase/fortunes.dat index 332f2a27..a7aff3e4 100644 --- a/infobase/fortunes.dat +++ b/infobase/fortunes.dat @@ -40137,3 +40137,19 @@ not four kinds of spiritual individuals. -- Jamgön Kongtrul, from "The Treasury of Knowledge: Book Seven and Book Eight, Parts One and Two: Foundations of Buddhist Study and Practice", published by Shambhala Publications. +~ + One way to prevent mental suffering is to observe ourselves and figure out +what triggers our problem. If we can identify what makes our blood pressure +rise and causes us to feel upset, then we have taken a big step toward seeing +the larger picture. With this wider perspective, there is less chance that we +will jump back into an old habitual pattern that only makes us feel bad. + It is not that we have to stop going to all family holidays, but that we +figure out ways to enjoy the parts that are enjoyable, like the delicious food +and the chance to connect with people, and to feel more neutral and detached +about the annoying or hurtful moments. We often place too many expectations +and requirements on ourselves and those around us. We could give the +situation a little space and see what develops. The kindest thing we can do +in these situations is to remain calm and refrain from causing more +difficulty. + -- Khenpo Gawang, from "Your Mind Is Your Teacher: Self-Awakening through + Contemplative Meditation", published by Shambhala Publications diff --git a/scripts/files/fix_game_perms.sh b/scripts/files/fix_game_perms.sh index 4dd7a913..9d214808 100644 --- a/scripts/files/fix_game_perms.sh +++ b/scripts/files/fix_game_perms.sh @@ -3,8 +3,8 @@ # fixes the permissions of files in the local games directory so that # everyone can run or read them if the owner could. -find /home/games -type f -perm /100 -exec chmod a+x {} ';' -find /home/games -type f -perm /400 -exec chmod a+r {} ';' +sudo find /home/games -type f -perm /100 -exec chmod a+x {} ';' +sudo find /home/games -type f -perm /400 -exec chmod a+r {} ';' -find /home/games -type d -exec chmod a+rx {} ';' +sudo find /home/games -type d -exec chmod a+rx {} ';' -- 2.34.1