[Voyage-linux] directory permissions wrong on voyage-sync

Martin Kos (spam-protected)
Mon Jul 8 21:48:40 HKT 2013


Hi John

thanks for your answer. but please check first the mentioned line of
voyage-sync (line 182) which has the following rsync command:
rsync -a -q --delete-after /$SYNC_DIR/. /.sync/$SYNC_DIR &
 ---> -a is archive mode, equivalent to −rlptgoD
so the -o is already included.
the problem is that the SOURCE of the sync is NOT $SYNC_DIR but
$SYNC_DIR/. and i suppose that the prevents rsync from taking the
permissions of $SYNC_DIR into account but instead just the ones from all
subdirectories & files ?
(this is based on voyage 0.8, haven't checked the 0.9 serie!)

greets
 KoS

Am 05.07.2013 19:53, schrieb John Coltrane:
> Hi,
> 
> by haveing a short look into rsync's manpage you can see that rsync has
> 
> o support for copying links, devices, owners, groups, and permis‐
> sions
> 
> so this should easily be fixable.
> 
> Hope that helps
> 
> 
> On 07/05/2013 12:24 PM, Martin Kos wrote:
>> Hi
>>
>> I noticed that the permissions of directories listed in VOYAGE_SYNC_DIRS
>> are not being synced.
>>
>> the voyage-sync script does set the owner of the directory, but doesn't
>> chmod the directory. and rsync is only syncing the "content" of the
>> directory, not the "root" directory.
>>
>> am i right with my assumption that this is a bug?
>>
>> greets
>>   KoS
>>
>>
>> _______________________________________________
>> Voyage-linux mailing list
>> Voyage-linux at list.voyage.hk
>> http://list.voyage.hk/mailman/listinfo/voyage-linux
> 
> 
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
> 





More information about the Voyage-linux mailing list