Ok. I've committed a change that will hopefully fix this.
Before writing a spool or avatar file, PyMSNt changes the umask to 0077. Thanks :) --- James On 27/08/2005, at 12:36 PM, James Bunton wrote: > Gotcha.. > > The umask isn't being set for writes to the avatar directory. > > So what umask should I be using for the spool files and avatar cache? > > --- > > James > > > > On 26/08/2005, at 8:04 PM, Lionel Dricot (aka Ploum) wrote: > >> I confirm the bug after some testing here. >> >> By the way, here's the huge log of the latest CVS avatars branch >> running on fritalk.com for some days. >> http://ploum.fritalk.com/msn.log.txt (10Mo) >> >> You need to download it because it contains some binary datas (I don't >> know why). >> The umask problem appears very well on the last line. >> >> On 25/08/05, Gonzalo Barrio <[EMAIL PROTECTED]> wrote: >>> Well it's wrong because if I create a directory with that mask then I >>> can't execute that directory, So I can't use it. >>> With this change it start working fine for new users. >>> >>> Gonzalo Barrio. >>> >>> >>> Lionel Dricot (aka Ploum) wrote: >>> >>>> I've seen a similar problem but I was not sure if it was because I >>>> ran >>>> PyMSN as root the first time after the upgrade. >>>> I solved this with a "chown -R jabber *" on the >>>> /var/lib/msn.fritalk.com repository >>>> >>>> On 25/08/05, Gonzalo Barrio <[EMAIL PROTECTED]> wrote: >>>> >>>> >>>>> I think that the spool umask in xdb.py is wrong. It's failing when >>>>> I >>>>> register new accounts. >>>>> >>>>> I change to this and start working: >>>>> SPOOL_UMASK = 0077 >>>>> >>>>> >>>>> Gonzalo Barrio. >>>>> >>>>> _______________________________________________ >>>>> py-transports mailing list >>>>> py-transports@blathersource.org >>>>> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports >>>>> >>>>> >>>>> >>>> _______________________________________________ >>>> py-transports mailing list >>>> py-transports@blathersource.org >>>> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports >>>> >>>> >>>> >>> >>> >>> _______________________________________________ >>> py-transports mailing list >>> py-transports@blathersource.org >>> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports >>> >> _______________________________________________ >> py-transports mailing list >> py-transports@blathersource.org >> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports >> > > _______________________________________________ > py-transports mailing list > py-transports@blathersource.org > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports >