Ignore:
Timestamp:
10/25/18 15:32:17 (6 years ago)
Author:
acosce
Message:

la mise a jour des droits sur le repertoire IGCM du TGCC est mise a la fin du script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/SYNCHRO_SCRIPTS/synchro_igcmg_to_ergon

    r4094 r4095  
    77cd /ccc/work/cont003/igcmg/igcmg 
    88 
    9 echo "Verification des droits sur les fichiers cote TGCC" 
    10 ccc_shspace_chmod userread /ccc/work/cont003/igcmg/igcmg/IGCM 
    11 is_problem=` ccc_shspace_modck IGCM |grep ccc_shspace_chmod |wc -l` 
    12 if [ "x${is_problem}" != "x0" ]  
    13 then 
    14   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 reponse 
    18   case ${reponse} in  
    19   non|NON|N|n) 
    20   exit  
    21   ;;  
    22 esac 
    23 fi  
    249 
    2510echo " Resultat du rsync en dry-run : " 
     
    5439ssh ${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/" 
    5540 
     41echo "Verification des droits sur les fichiers cote TGCC" 
     42ccc_shspace_chmod userread /ccc/work/cont003/igcmg/igcmg/IGCM 
     43is_problem=` ccc_shspace_modck IGCM |grep ccc_shspace_chmod |wc -l` 
     44if [ "x${is_problem}" != "x0" ]  
     45then 
     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" 
     48fi  
Note: See TracChangeset for help on using the changeset viewer.