rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] Cygwin fsync


From: jmaatta
Subject: [rdiff-backup-users] Cygwin fsync
Date: Wed, 17 Jan 2007 11:52:56 +0200

Hi,

it seems to be a de-facto fix these days to comment out the
os.fsync(fd) from fsync_local() in rpath.py to make rdiff-backup work
under Cygwin. The exception catcher did not work at least for me, for
the following reasons:

1.) The error thrown is EACCES (13) and not EPERM. This causes the
code to raise again.

2.) After adding EACCES to accompany EPERM, the permission checking
code fails under Cygwin because uid data is not available (or so it
seemed to me; I just took a quick look before working around this by
commenting out the permission checking code).

Is simply commenting the of.fsync(fd) safe? For the time being I use
what I described above to make sure the fsync is always called.

Jussi
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]