]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
setup.sh: Make sure ~/.less is 0600.
authorSimon Ruderich <simon@ruderich.org>
Thu, 11 Mar 2010 00:08:53 +0000 (01:08 +0100)
committerSimon Ruderich <simon@ruderich.org>
Thu, 11 Mar 2010 00:08:53 +0000 (01:08 +0100)
Let's be a "little" paranoid.

setup.sh

index bdd05424e89a77b119f3ab57634fc532426a17d0..dd6061df604100b86c4f0f83e44ce9a4a0b964d4 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -7,6 +7,7 @@
 
 # Generate ~/.less with lesskey.
 lesskey lesskey
+chmod 0600 ~/.less
 
 # As screen-256color is not widely supported use it only on machines known to
 # work.