> And I think the solution would be something like the attached patch,
> using os.open() with mode parameter to avoid os.umask.

One fix: shouldn't the mode be 0600 rather than 0200? As is, it's
creating the file with write permission only and no read.
_______________________________________________
cobbler-devel mailing list
cobbler-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler-devel

Reply via email to