Changeset 4095 for TOOLS/SYNCHRO_SCRIPTS/synchro_igcmg_to_ergon
- Timestamp:
- 10/25/18 15:32:17 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/SYNCHRO_SCRIPTS/synchro_igcmg_to_ergon
r4094 r4095 7 7 cd /ccc/work/cont003/igcmg/igcmg 8 8 9 echo "Verification des droits sur les fichiers cote TGCC"10 ccc_shspace_chmod userread /ccc/work/cont003/igcmg/igcmg/IGCM11 is_problem=` ccc_shspace_modck IGCM |grep ccc_shspace_chmod |wc -l`12 if [ "x${is_problem}" != "x0" ]13 then14 echo "Il y a un probleme de droit sur un repertoire qui ne vous appartient pas"15 echo "vous pouvez utiliser la commande ccc_shspace_modck IGCM pour savoir qui doit mettre a jour les droits"16 echo -n "voulez-vous tout de meme continuer la synchronisation [oui/non]"17 read reponse18 case ${reponse} in19 non|NON|N|n)20 exit21 ;;22 esac23 fi24 9 25 10 echo " Resultat du rsync en dry-run : " … … 54 39 ssh ${loginIDRIS}@ergon.idris.fr "setfacl -R -m u::rwx,u:rpsl500:rwx,u:rgzi028:rwx,u:rces009:rwx,u:rces061:rwx,u:rgzi023:rwx,u:rpsl592:rwx,u:rpsl035:rwx,u:rces131:rwx,u:rlmd979:rwx,u:rdzt893:rwx,u:rpsl003:rwx,u:rgzi003:rwx,u:rpsl944:rwx,u:rpsl035:rwx,u:reee451:rwx,u:rfry451:rwx,u:rfry154:rwx,u:romr006:rwx,u:rgzi028:rwx,u:rgzi002:rwx,u:rpsl946:rwx,u:rces452:rwx,u:rces599:rwx,u:rces011:rwx,u:rlmd007:rwx,u:rgzi004:rwx,u:rpsl388:rwx,u:rlmd833:rwx,u:rces311:rwx,u:rdzt001:rwx,u:rgzi017:rwx,u:rces981:rwx,u:rpsl951:rwx,g::r-x,o::r-x,m::rwx /linkhome/rech/psl/rpsl035/IGCM/" 55 40 41 echo "Verification des droits sur les fichiers cote TGCC" 42 ccc_shspace_chmod userread /ccc/work/cont003/igcmg/igcmg/IGCM 43 is_problem=` ccc_shspace_modck IGCM |grep ccc_shspace_chmod |wc -l` 44 if [ "x${is_problem}" != "x0" ] 45 then 46 echo "Il y a un probleme de droit sur un repertoire qui ne vous appartient pas" 47 echo "vous pouvez utiliser la commande ccc_shspace_modck IGCM pour savoir qui doit mettre a jour les droits" 48 fi
Note: See TracChangeset
for help on using the changeset viewer.