Julien,

I had this same problem and spent a good amount of time fighting it
(you should be able to search back in the mailing list)

There is no configuration option so you must dive into the source: in
fields.py, you want to look for savestore method in the
TranslationStoreFieldFile class. Then you will need to add some thing
like the following after the call to "shutil.move(...)"

        os.chmod(self.realpath,
stat.S_IROTH|stat.S_IRGRP|stat.S_IWGRP|stat.S_IREAD|stat.S_IWRITE)

and/or

        
os.chown(self.realpath,getpwnam('translate')[2],getgrnam('translate')[2])

You can adjust the permissions/groups as you see fit.

Good Luck,

Christian

On Fri, Oct 29, 2010 at 11:51 AM, Julien Langlois
<[email protected]> wrote:
> Hi again,
>
> When Pootle regenerate the .po files, the right are 600. Is there an
> option to define the umask in order to have more right ?
> (I need 644 to be able to get .po files from a script running with
> another user in the same machine)
>
> Thanks,
>
>
> --
>              Julien
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Translate-pootle mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/translate-pootle
>

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to