(SP1) ROX error msg when copy file

As reported earlier, ROX gives an error message when some files are copied to a vfat filesystem, when file attributes are not preserved. I have modified /usr/local/bin/drive_all (the handler for desktop drive icons) and /usr/sbin/pmount so that vfat filesystems are mounted with 'quiet' option:

mount -t vfat -o shortname=mixed,quiet <device> <mount point>


Posted on 20 Oct 2008, 9:35


Comments:

Posted on 20 Oct 2008, 9:49 by BarryK
Test post
man, this is weird! Sometimes I can post, sometimes I can't. Mostly I can't, but then suddenly it does work, like the first post above and this comment.


Posted on 20 Oct 2008, 10:56 by Mike Lockmoore
ROX code patch
Barry:

If you are still interested in the a patch for ROX that can provide a more helpful warning message, or suppress the error message completely, I now have a solution. Is there a good place I can drop a modified action.c file from ROX, or a diff between the original and my modified version?



Posted on 20 Oct 2008, 18:05 by BarryK
ROX patch
Mike,
yes please. I have only got the 'quiet' option for vfat, as the docs for ntfs-3g do not show 'quiet' as an acceptable option.

Could you email it to me,
bkaulerATgooseeDOTcom



Posted on 20 Oct 2008, 19:11 by Mike Lockmoore
Rox Patch
OK, the patch is on the way. The method I used to provide a warning about the file permissions changing will cause a pop-up window for each file, which will be annoying for multi-file copies. You can change the #if 1 to a #if 0 to shut off the pop-up warning feature. I may be able to figure out a better method of integrating warnings into the regular "action" dialog... maybe add a new button "close" or "done" or be able to modify the "cancel" button so it does not look like it will abort or undo the copy action


Posted on 7 Nov 2008, 21:53 by qqdan
Pmount Bug
pmount can not support utf8 filename in vfat filesystem (such as chinese)s,rox show filename "???".