View previous topic :: View next topic |
Author |
Message |
alevmi n00b
Joined: 03 Nov 2007 Posts: 8
|
Posted: Fri Feb 12, 2010 11:59 am Post subject: Upgrade to ntfs3g-2009.11.14 and rsync fails (SOLVED) |
|
|
Hi, I've got the strangest problem.
Symptom: rsync fails to update files on ntfs partition mounted under non-root after I upgrade from ntfs3g-2009.3.8 to ntfs3g-2009.11.14, with the following error:
Quote: | rsync: failed to set times on ... |
To reproduce:
1. Have sys-fs/ntfs3g-2009.3.8 installed (USE: +hal +suid)
2. Under non-root user (named common in my example) do
Code: | mkdir ~/rsynctest
echo "File to back up" > ~/rsynctest/syncfile
mkdir ~/ntfs-mountpoint |
# Let's assume /dev/sdc1 is our target NTFS partition
Code: | ntfs-3g -o user /dev/sdc1 ~/ntfs-mountpoint/
rsync -a --progress ~/rsynctest ~/ntfs-mountpoint/ |
Yeilds:
Quote: | sending incremental file list
rsynctest/
rsynctest/syncfile
16 100% 0.00kB/s 0:00:00 (xfer#1, to-check=0/2)
sent 140 bytes received 35 bytes 350.00 bytes/sec
total size is 16 speedup is 0.09
|
3. Update file and re-sync
Code: | touch ~/rsynctest/syncfile
rsync -a --progress ~/rsynctest ~/ntfs-mountpoint/ |
Yeils the same result:
Quote: | sending incremental file list
rsynctest/
rsynctest/syncfile
16 100% 0.00kB/s 0:00:00 (xfer#1, to-check=0/2)
sent 144 bytes received 35 bytes 358.00 bytes/sec
total size is 16 speedup is 0.09 |
4. Clean up
Code: | rm -rf ~/rsynctest/
rm -rf ~/ntfs-mountpoint/rsynctest/ |
And unmount /dev/sdc1
5. Now have ntfs-3g 2009.11.14 installed (USE: hal -external-fuse suid)
6. Repeat commands in 2-3
Now rsync fails:
Quote: | sending incremental file list
rsynctest/
rsynctest/syncfile
16 100% 0.00kB/s 0:00:00 (xfer#1, to-check=0/2)
rsync: failed to set times on "/home/common/ntfs-mountpoint/rsynctest/.syncfile.GnOZMX": Operation not permitted (1)
sent 144 bytes received 35 bytes 358.00 bytes/sec
total size is 16 speedup is 0.09
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] |
Am I missing something?
Last edited by alevmi on Fri Feb 12, 2010 3:26 pm; edited 1 time in total |
|
Back to top |
|
|
bobspencer123 Guru
Joined: 19 Dec 2005 Posts: 544
|
Posted: Fri Feb 12, 2010 2:37 pm Post subject: |
|
|
re-emerge and exclude the acl use flag. I'm not sure why or what acl does but by turning off that use flag I solved the problem I was having which was identical to yours with rsync. _________________ Increasingly becoming a 2 channel audio nut! |
|
Back to top |
|
|
alevmi n00b
Joined: 03 Nov 2007 Posts: 8
|
Posted: Fri Feb 12, 2010 3:30 pm Post subject: It Helped. |
|
|
Yes, it did help, thanks a lot!
However, I can see no logic behind this behavior of ntfs-3g. |
|
Back to top |
|
|
wyvern5 Apprentice
Joined: 11 Nov 2006 Posts: 161
|
Posted: Sun Feb 21, 2010 8:27 am Post subject: |
|
|
ntfs3g 2010.1.16 still has the same issue. Building with -acl fixes it. |
|
Back to top |
|
|
nenemsis5 n00b
Joined: 23 Oct 2007 Posts: 72
|
Posted: Mon May 17, 2010 8:54 pm Post subject: |
|
|
its fixed in latest version of 16th may.
Stable Version 2010.5.16 (May 16, 2010)
* Fixed a compilation issue with uClibc.
* Fixed modifying the read-only flag on a directory.
* Fixed a bug in ACL inheritance.
* Fixed a bad condition for security descriptor upgrade.
* Fixed a possible index block with no key in $SII.
* Fixed the condition for executing utime() and utimensat().
* Fixed wrong flags when uid/gid are forced in mount options.
* Fixed a bad error checking when closing a compressed file.
* Fixed compiler warnings on OpenSolaris.
* Fixed conditional code for self-test in secaudit. |
|
Back to top |
|
|
|