Browse Source

utils: add small script to check permissions for directories/files

remotes/kaosun/Kaosun
Romain Goffe 13 years ago
parent
commit
31a2ad46f2
  1. 11
      utils/perms.sh
  2. 6
      utils/release.sh

11
utils/perms.sh

@ -0,0 +1,11 @@
#!/bin/sh
#Author: Romain Goffe
#Date: 07/03/2012
#Description: Check directories and files permissions
chmod 755 songs/*
chmod 644 songs/*/*.*
chmod 644 lilypond/*.ly
exit 0

6
utils/release.sh

@ -49,11 +49,7 @@ fi;
#echo "emacs batch indentation done !"
./utils/rules.py
./utils/resize-cover.py
#check for rights
chmod 755 songs/*
chmod 644 songs/*.*
chmod 644 lilypond/*.ly
./utils/perms.sh
#build all songbooks
rm -f *.d

Loading…
Cancel
Save