can you probably "reduce" your problem to an as tiny as possible repro-case - i.e. activesync a single (bigger) file which succeeds and one single (smaller) file which fails ? don`t know much about active-sync, so not sure if this is possible
> -----Ursprüngliche Nachricht----- > Von: <[EMAIL PROTECTED]> > Gesendet: 06.01.07 00:04:01 > An: "'Yuval Fledel'" <[EMAIL PROTECTED]> > CC: [email protected] > Betreff: Re: [ntfs-3g-devel] error on transfer of very small files over LAN > > > > On 06/01/07, Szakacsits Szabolcs <[EMAIL PROTECTED]> wrote: > > > > > > On Fri, 5 Jan 2007, Rein Ketelaars wrote: > > > > > Van: Szakacsits Szabolcs [mailto:[EMAIL PROTECTED] > > > > > > > > > > If you still have the problem then please do the below (you may > > > > > need to use mount.ntfs-3g instead of ntfs-3g): > > > > > > > > > > strace -s80 -o /tmp/activesync.log -p $(pidof ntfs-3g) > > > > > > > > > > Then reproduce the problem, then compress the > > /tmp/slow-copy.log > > > > > file by bzip2 and make it somewhere downloadable, or > > just send it to me. > > > > > > > > The output file of strace is sent > > > > > > Nothing seems to be wrong. Could you please repeat this > > strace for the > > > smbd process which serves the requests? Afair, it's possible to > > > configure samba to use only one process, so selecting the > > right pid should be easy. > > > > > > Thanks, > > > Szaka > > > > samba3 has some strange voodoo when it comes to file permissions. > > > > A tcpdump/wireshark log would be more appropriate here. > > > > Please you right click on one bad file and one good file at > > the windows machine, select "properties" and switch to the > > "security" tab. > > Is there any difference? (I'm assuming you see the permissions there. > > If you don't, open "My Computer", on the menu select "Tools" > > -> "Folder options" -> "View" tab -> uncheck "Use simple file > > sharing") > > > > H0: ActiveSync stats the file before actually trying to do > > its job, and the samba mapping coupled with the static > > st_mode result is not what it expect. > > H1: H0 is not correct. > > > > -- > > Yuval Fledel > > > There is no difference between small and large files concerning permissions > as viewed in the security tab. > > I can imagine though, that this is the problem: Activesync has got another > opinion on file permissions and therefore rejects a lot of files with some > minor difference in permissions set for them. Although any other app *can* > open them because windows/samba lets them... > > But why would permissions be set differently for smaller files (by samba and > only for ntfs-volumes?) ?? > > Rein > > > ------------------------------------------------------------------------- > 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 > _____________________________________________________________________ Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! http://smartsurfer.web.de/?mc=100071&distributionid=000000000066 ------------------------------------------------------------------------- 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
