trdlo / client175

Automatically exported from code.google.com/p/client175
GNU General Public License v3.0
0 stars 0 forks source link

Windows Support #39

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
As MPD now also is available as Win32 binary, I decided to test client175 on my 
windows 7 based server.

Client175 uses the pwd module, which is unavailable on Windows. I removed the 
lines of code that had something to do with this (4 or so lines in server.py 
that have RUN_AS and/or pwd in them). Obviously now the server cannot be run as 
a different user. I'm not sure if this is a security risk or not.

Other than that client175 seems to work fine on Windows. So my suggestion is to 
create an alternative for the setuid() or to bypass it just on windows based 
systems.

Original issue reported on code.google.com by r.b.j.ja...@gmail.com on 17 Sep 2011 at 12:40