[bf1942] Demo permissions
Jani Partanen
jiipee at sotapeli.fi
Wed Dec 14 09:10:05 EST 2005
It funny how they haven't fix this yet, but here is the fix:
http://bf2.fun-o-matic.org/index.php/Scripts:ModifiedDemoRotator
> -----Original Message-----
> From: ScratchMonkey [mailto:ScratchMonkey at MatureAsskickers.net]
> Sent: 14. joulukuuta 2005 6:26
> To: bf1942 at icculus.org
> Subject: [bf1942] Demo permissions
>
> The rotate_demo.py script appears to invoke os.chmod(file,
> 0744) on demos when it moves them. But it doesn't seem to be
> changing the permissions. The Linux binary is writing the
> files 0600 and they stay the same after being moved to my web
> directory. I run the server as user "bf2" and the web server
> runs as user "apache", so it can't read them to serve them.
> Is os.chmod broken in the provided Python library? For now
> I've just got an hourly cron script fixing the permissions.
>
More information about the Bf1942
mailing list