Re: ROX-Filer Copy Command to CIFS
Thomas Leonard <[email protected]> Thu, 17 Oct 2013 14:58:00 +0100
| Newsgroups | gmane.comp.desktop.rox.user |
|---|---|
| Message-ID | <CAG4opy90QXUVRt=R6s959nHd+Snr-xPWjx07xCHe6T-J5J=6iA@mail.gmail.com> |
On 16 October 2013 15:28, <[email protected]> wrote: > I'm working with the lead developer of antiX. Since 2007 all its > releases have shipped with ROX-Filer and Pinboard as the distro > defaults. > > Hoping to find help with a bogus ROX-Filer error message that can be > obtained when copying files to a cifs (Samba) share. The error says > the copy failed, but in fact completes successfully. > > antiX also ships with other file managers, SpaceFM and Midnight > Commander (mc). The error message is not generated when using these > or the standard CLI "cp" command. > > The problem seems to be caused by the way ROX-Filer copies files and > dirs using the command "cp -p". > > There is a workaround mentioned in the Troubleshooting section of this > ROX reference guide. Look in the sub-section "Errors when copying to > Windows partitions" > http://rox.sourceforge.net/desktop/book/export/html/1.html. > Unfortunately it cannot be used when mounting cifs (Samba) shares as > the "quiet" option is invalid. > > Is there a way to force the "cp" rather than "cp -p"? Edit copy_file in support.c? Actually, it's quite inefficient spawning a process for each file. Maybe update it to use gio, or copy the code from GNU cp in directly and ignore the error yourself? > Alternatively, could an option be added to ROX-Filer-->Options-->Drag > and Drop-->(or similar) to make parameters to the "cp" command user > specifiable? -- Dr Thomas Leonard http://0install.net/ GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1 GPG: DA98 25AE CAD0 8975 7CDA BD8E 0713 3F96 CA74 D8BA ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk