Hi!

I'm using ntfs-3g 1.0 with fuse 2.6.3 and a 2.6.20 kernel on gentoo/amd64. 
Mounting and using NTFS drives works just fine, except when trying to 
synchronize files with unison-2.17.1.

mount -l says:
/dev/sda6 on /mnt/daten type fuseblk 
(rw,nosuid,nodev,noexec,noatime,allow_other,default_permissions,blksize=4096)

and the line in fstab is
/dev/sda6               /mnt/daten      ntfs-3g         
auto,users,uid=1000,gid=100,umask=000,rw,locale=de_DE.utf8      0 0

Unison works fine when syncing to an ext3-filesystem, but when synching to 
ntfs, I get the following errors:

[server: remote_emit] Message received (id: 27) (tokens: 1)
[server: remote_emit] receive 'rsp\132\149\166\190\000\000\000...' 24 bytes
[server: remote_emit] receive 'processTra...' 51 bytes
[server: remote_emit] Waiting for next message
[server: abort] Checking line 5
[server: remote_emit] Sending result (id: 16)
[server: remote_emit] send 
[compress-res] '\132\149\166\190\000\000\000\001\000\000...' 21 bytes
[server: remote_emit] send [rsp] '\132\149\166\190\000\000\000\001\000\000...' 
21 bytes
[server: remote_emit] Remaining tokens: 1
[remote_emit] Message received (id: 16) (tokens: 1)
[remote_emit] receive 'rsp\132\149\166\190\000\000\000...' 24 bytes
[remote_emit] receive 'compress-r...' 33 bytes
[remote_emit] Waiting for next message
[props] Setting permissions 
for /mnt/daten/ebay/.#RIMG0008.JPG.bdbd9022684c136bb5f52a5b1ca7ce9e.unison.tmp 
to rw-r--r-- (644/1777)
[remote_emit] send 
[rollBack-args] '\132\149\166\190\000\000\000\027\000\000...' 47 bytes
[remote_emit] send [rsp] '\132\149\166\190\000\000\000\n\000\000...' 30 bytes
[remote_emit] Sending request (id: 17)
[remote_emit] Remaining tokens: 1
[server: remote_emit] Message received (id: 17) (tokens: 1)
[server: remote_emit] receive 'rsp\132\149\166\190\000\000\000...' 33 bytes
[server: remote_emit] receive 'rollBack-a...' 60 bytes
[server: remote_emit] Waiting for next message
[server: remote_emit] Sending result (id: 17)
[server: remote_emit] send 
[rollBack-res] '\132\149\166\190\000\000\000\001\000\000...' 21 bytes
[server: remote_emit] send [rsp] '\132\149\166\190\000\000\000\001\000\000...' 
21 bytes
[server: remote_emit] Remaining tokens: 1
[remote_emit] Message received (id: 17) (tokens: 1)
[remote_emit] receive 'rsp\132\149\166\190\000\000\000...' 24 bytes
[remote_emit] receive 'rollBack-r...' 33 bytes
[remote_emit] Waiting for next message
[thread] Exception caught by Thread.unwindProtect: Failed to set permissions 
of 
file /mnt/daten/ebay/.#RIMG0008.JPG.bdbd9022684c136bb5f52a5b1ca7ce9e.unison.tmp 
to rw-r--r--: the permissions was set to rwxrwxrwx instead
[files] DeleteLocal [/mnt/daten/ebay] 
(/mnt/daten/ebay, .#RIMG0008.JPG.bdbd9022684c136bb5f52a5b1ca7ce9e.unison.tmp)
[xferhint] deleteEntry: fspath=/mnt/daten/ebay, 
path=.#RIMG0008.JPG.bdbd9022684c136bb5f52a5b1ca7ce9e.unison.tmp
[thread] Exception caught by Thread.unwindProtect: Failed to set permissions 
of 
file /mnt/daten/ebay/.#RIMG0008.JPG.bdbd9022684c136bb5f52a5b1ca7ce9e.unison.tmp 
to rw-r--r--: the permissions was set to rwxrwxrwx instead
Failed: Failed to set permissions of 
file /mnt/daten/ebay/.#RIMG0008.JPG.bdbd9022684c136bb5f52a5b1ca7ce9e.unison.tmp 
to rw-r--r--: the permissions was set to rwxrwxrwx instead
UNISON finished propagating changes at 10:34:50 on 04 Mar 2007

In the end, the synchronized files simply don't exist on the ntfs target.

Manually creating and renaming files with names 
like 
"/mnt/daten/ebay/.#RIMG0008.JPG.bdbd9022684c136bb5f52a5b1ca7ce9e.unison.tmp" 
works.

Does ntfs-3g lack support for some operations that ext3 supports? Or are there 
problems with special filenames?

Removing the "locale"-parameter in fstab doesn't help either. Should I ask the 
unison-devs whether their program does some unusual things to the 
synchronized files?

thanks for your help!
Ben Adler

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
ntfs-3g-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel

Reply via email to