Hello,

I tried to use rsync (3.0.5-1) to make backups, but I experienced a  
strange behaviour. I run the backup script as root, and used the -- 
backup-dir option. But I cannot read the backup file without being  
root. More precisly, the directories created by the --backup-dir  
option have the permission of the root user, not the original ones.
For example, the permissions in the destination directory are:
 > ls -ld  /Volumes/data/backup/jdmDesktop /Volumes/data/backup/ 
jdmLibrary
drwx------   4 jdm  jdm  1020 20 mar 21:24 Desktop
drwx------@ 47 jdm  jdm  1734 28 fév 23:03 Library

And the permissions in the backup directory are:
 > ls -l /Volumes/data/backup/jdm/rsync-backup/20090321
total 0
drwx------  2 root  jdm  204 21 mar 00:00 Desktop
drwx------  9 root  jdm  306 21 mar 00:00 Library

Why does rsync change the permissions of the backuped files ? Is it  
normal ? It seems to me that rsync creates the missing directories in  
the backup dir using default permissions, without preserving existing  
ones. Am I missing something ?


The full command I run:
/sw/bin/rsync -hh --acls --xattrs --archive --prune-empty-dirs -- 
delete --delete-excluded --ignore-errors -i --backup --backup- 
dir=rsync-backup/20090321 --filter=. /Users/jdm/.rsync-filter /Users/ 
jdm/ /Volumes/data/backup/jdm


Jean-David
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to