Discussion:
[Erp5-dev] genbt5list file mode patch
Łukasz Nowak
2007-03-21 14:33:28 UTC
Permalink
Hello,

On my systems tempfile.mkstemp() creates file with umask=0077 (umask is
set to 0022) and shutil.move preserves this mode, so I have to update
mode by hand.

Is it acceptable to do it directly from genbt5list?

Thanks,
Luke
--
?ukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...''
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: genbt5list-mode-update.patch
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20070321/c2327ac8/attachment.txt>
Yoshinori Okuji
2007-03-21 16:32:02 UTC
Permalink
Post by Łukasz Nowak
Hello,
On my systems tempfile.mkstemp() creates file with umask=0077 (umask is
set to 0022) and shutil.move preserves this mode, so I have to update
mode by hand.
Is it acceptable to do it directly from genbt5list?
Sure. Thank you for your contribution.

YO
--
Yoshinori Okuji, Nexedi CTO
Nexedi: Consulting and Development of Free / Open Source Software
http://www.nexedi.com
ERP5: Full Featured High End Open Source ERP
http://www.erp5.com
ERP5 Wiki: Developer Zone for ERP5 Community
http://www.erp5.org
Loading...