X-Git-Url: http://gitweb.pimeys.fr/?a=blobdiff_plain;f=chmods.sh;fp=chmods.sh;h=6b3ce209a43ccb926fc0fc025f10cf2b45740589;hb=da390efc3f209ae5a5bb44d0355c35a0fbd2e6dd;hp=0000000000000000000000000000000000000000;hpb=1a33b8596317923dc17fcd19e37a58076c71c781;p=scripts-20-100.git diff --git a/chmods.sh b/chmods.sh new file mode 100755 index 0000000..6b3ce20 --- /dev/null +++ b/chmods.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +# Pour donner les bons droits au réprtoire courant +# bons droits == groupe adm, dir : ug+rws, file : ug+rw + +sudo chgrp adm .; sudo find . -type f -exec chmod ug+rw {} \; ; sudo find . -type d -exec chmod ug+rws {} \