Project

General

Profile

Anomalie #5160

migration23.sh : problème chown via rsync de /home

Added by équipe eole Academie d'Orléans-Tours over 10 years ago. Updated over 10 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
04/08/2013
Due date:
04/12/2013
% Done:

100%

Estimated time:
0.50 h
Spent time:
Distribution:
Toutes

Description

Constaté avec la version du script "20130319"

Dans savescribedata()

rsync -cav --log-file $RSYNC_LOG --exclude=MailDir \
--exclude=IntegrDom --exclude=.scanned* $abc "$1/home"

Cela génère des erreurs du type :

2013/04/02 18:28:09 [25667] rsync: chown "/media/migration/scribe-0410793P/home/t/txxx.xxx/perso/.Config/Application Data/Microsoft" failed: Operation not permitted (1)

Il semble que cela concerne essentiellement "/Application Data/xxxx" et donc les répertoires avec les espaces.

avec des "{}" qui protège la variable abc, ces erreurs n'apparaissent plus :

rsync -cav --log-file $RSYNC_LOG --exclude=MailDir \
--exclude=IntegrDom --exclude=.scanned* "${abc}" "$1/home"


Related issues

Related to creole - Anomalie #4536: migration23.sh Fermé 12/24/2012 04/26/2013

Associated revisions

Revision 67a7a148 (diff)
Added by Joël Cuissinat over 10 years ago

Consolidation du script avec la protection d'une variable

Fixes #5160 @20m

History

#1 Updated by Joël Cuissinat over 10 years ago

  • Due date set to 04/12/2013
  • Status changed from Nouveau to A étudier
  • Assigned To set to Joël Cuissinat
  • Target version set to Migration 2.3
  • Start date set to 04/08/2013
  • Estimated time set to 0.50 h

#2 Updated by Joël Cuissinat over 10 years ago

  • Status changed from A étudier to Résolu
  • % Done changed from 0 to 100

#3 Updated by Joël Cuissinat over 10 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF