Changeset 4095 for TOOLS/SYNCHRO_SCRIPTS/synchro_igcmg_to_ciclad
- Timestamp:
- 10/25/18 15:32:17 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/SYNCHRO_SCRIPTS/synchro_igcmg_to_ciclad
r4093 r4095 2 2 3 3 cd /ccc/work/cont003/igcmg/igcmg 4 echo "Verification des droits des repertoires TGCC"5 ccc_shspace_chmod userread /ccc/work/cont003/igcmg/igcmg/IGCM6 is_problem=` ccc_shspace_modck IGCM |grep ccc_shspace_chmod |wc -l`7 if [ "x${is_problem}" != "x0" ]8 then9 echo "Il y a un probleme de droit sur un repertoire qui ne vous appartient pas"10 echo "vous pouvez utiliser la commande ccc_shspace_modck IGCM pour savoir qui doit mettre a jour les droits"11 echo -n "voulez-vous tout de meme continuer la synchronisation [oui/non]"12 read reponse13 case ${reponse} in14 non|NON|N|n)15 exit16 ;;17 esac18 fi19 4 20 5 echo " Resultat du rsync en dry-run : " … … 39 24 esac 40 25 26 27 28 echo "Verification des droits des repertoires TGCC" 29 ccc_shspace_chmod userread /ccc/work/cont003/igcmg/igcmg/IGCM 30 is_problem=` ccc_shspace_modck IGCM |grep ccc_shspace_chmod |wc -l` 31 if [ "x${is_problem}" != "x0" ] 32 then 33 echo "Il y a un probleme de droit sur un repertoire qui ne vous appartient pas" 34 echo "vous pouvez utiliser la commande ccc_shspace_modck IGCM pour savoir qui doit mettre a jour les droits" 35 fi
Note: See TracChangeset
for help on using the changeset viewer.