Re: File Creation Permission Problem ONLY for TIF files: Creating as 644 (rw-r--r--) when should be 664 (rw-rw-r--)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux