[Unison-hackers] [unison-users] Problem with the backup module (unison 2.17.1 and 2.19.27) under Windows XP

Benjamin Pierce bcpierce at cis.upenn.edu
Tue Jul 11 11:27:04 EDT 2006


I am just in the middle of a major rewrite of the backup module, but  
since I do not run Windows here, I have not been able to do any  
testing yet on this platform.  If you (or another Windows user) would  
be willing to help by adding some unit tests to exercise things like  
permissions and filename mangling under WinXP -- and doing a little  
detective work to see where things are failing -- I'd be grateful.   
This will require compiling Unison from source and a little digging  
into the code, but nothing deep.

Regards,

      Benjamin



On Jul 11, 2006, at 10:38 AM, ralph_lehmann_lei wrote:

> Hi,
>
> I have to synchronise 2 local folders incl. subfolders. Here is the
> prf-content:
>
> -------------------------------------%<---------------------
> root = f:/
> root = C:/
> path = TEB_DATA
> ignore = Path TEB_DATA/ignoredPath
> times = true
>
> prefer = newer
> rsync = true
> batch = true
> log = true
> logfile = TEB.log
> maxbackups = 3
> backup = Name *
> backupdir = C:/TEBBackupDir/
> backupprefix = $VERSION.
> fastcheck = false
> debug = all
> terse = true
> contactquietly = true
> ---------------------------------------->%------------------
>
> Data Structure under the roots:
> C:\TEB_DATA\testfolder1
>             testfolder2
>
> F:\TEB_DATA\testfolder1
>             testfolder2
>
> If I remove one of these testfolders in F:\TEB_DATA, Unison replicates
> the deletion "on the other site" without any problem. A backup will be
> createt in C:\TEBBackupDir\ .
>
> If I remove one of these testfolders in C:\TEB_DATA, Unison fails with
> the following output:
>
> -------------------------------------%<---------------------
> [os] rename C:/TEBBackupDir/TEB_DATA/.bak.001.testfolder2 to
> C:/TEBBackupDir/TEB_DATA/.bak.002.testfolder2
> [stasher] Backing up [TEB_DATA/testfolder2] in [f:/] to
> [TEB_DATA/.bak.001.testfolder2] in [C:/TEBBackupDir]
> [os] rename f:/TEB_DATA/testfolder2 to
> C:/TEBBackupDir/TEB_DATA/.bak.001.testfolder2
> [exn] Converting a Unix error to Transient:
> Error in renaming:
> Permission denied [rename(f:/TEB_DATA/testfolder2)]
> [copy] copylocal (f:/,TEB_DATA/testfolder2) to (C:/TEBBackupDir,
> TEB_DATA/.bak.001.testfolder2)
> [exn] Converting a Sys_error to Transient:
> Error in copying locally:
> f:/TEB_DATA/testfolder2: Permission denied
> [exn] In removeAndBackupAsAppropriate: Propagating Transient error
> [thread] Exception caught by Thread.unwindProtect: Error in copying
> locally:
> f:/TEB_DATA/testfolder2: Permission denied
> Failed: Error in copying locally:
> f:/TEB_DATA/testfolder2: Permission denied
> Failed [TEB_DATA/testfolder2]: Error in copying locally:
> f:/TEB_DATA/testfolder2: Permission denied
> UNISON finished propagating changes at 16:24:50 on 11 Jul 2006
> ---------------------------------------->%------------------
>
> File- and folder permissions are set to full control (everyone).
>
> The problem do NOT occour with Unison 2.13.16.
> The problem do NOT occour, if I delete a regular file instead of a  
> folder.
>
> Sorry 4 terrible english & thanks 4 all.
>
> Ralph
>
>
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor -------------------- 
> ~-->
> Yahoo! Groups gets a make over. See the new email design.
> http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/26EolB/TM
> -------------------------------------------------------------------- 
> ~->
>
>
> Yahoo! Groups Links
>
> <*> To visit your group on the web, go to:
>     http://groups.yahoo.com/group/unison-users/
>
> <*> To unsubscribe from this group, send an email to:
>     unison-users-unsubscribe at yahoogroups.com
>
> <*> Your use of Yahoo! Groups is subject to:
>     http://docs.yahoo.com/info/terms/
>
>



More information about the Unison-hackers mailing list