[scribus] collecting for output
mheieis at alois.ca
Wed Dec 11 15:05:51 UTC 2013
I was wondering about copyFileAtomic() after I sent the email. I'm using
Fedora 19. I tested with a small, independent code fragment. The
behaviour of it mimicked what I saw happen with collect4output. I'll
investigate some more and respond off list.
On 2013-12-11 03:29, Craig Bradney wrote:
>> On 11 Dec 2013, at 4:18, Mark Heieis <mheieis at alois.ca> wrote:
>> Hi Craig,
>> I dug a little deeper and this is what I found: If the destination file(s) already exist, then setPermissions() will succeed. It appears, however, if they don't exist, setPermissions() will fail.
>> In the patch, it doesn't look like the output files have actually been physically created when setPermissions() is called, only the file descriptors have.
> Well we need to check this as the copyFileAtomic code has already run and the permissions copy runs between the old and new file. What is are you on? I'm testing this on OSX.
> Scribus Mailing List: scribus at lists.scribus.net
> Edit your options or unsubscribe:
> See also:
More information about the scribus