[Gimp-developer] File Creation Permission Problem ONLY for TIF files: Creating as 644 (rw-r--r--) when should be 664 (rw-rw-r--)
Martin Nordholts
enselic at gmail.com
Fri Apr 10 08:36:55 PDT 2009
Jay Smith wrote:
> Sorry to bump this, but after 8 days on this list and on gimp-user,
> there has been absolutely no comment.
Hi!
Don't top-post please.
This happens to me as well and from looking at the code it also happens
for gbr, gih, pat, pnm and raw which opens a file for writing like this:
fd = g_open (filename, O_CREAT | O_TRUNC | O_WRONLY | _O_BINARY, 0644);
E.g png instead uses
fp = g_fopen (filename, "wb");
This inconsistency doesn't make any sense, feel free to open a bug
report. The latter is identical to the former apart from the
permissions, so we probably want to use the latter for all plug-ins.
- Martin
More information about the Gimp-developer
mailing list