Python image library issue: domain users cannot save files?

vixvixreg at gmail.com vixvixreg at gmail.com
Wed Nov 19 10:43:07 EST 2008


Hi,
Has anyone try to use PIL in a windows domain environment? I am having
a permission issue. If I am a domain user, even I have the permission
to write a folder, when I tried to do simple things like Image.open
("foo.tif").save("bar.tif"), i am getting exception IOError ("0",
"Error"). I tried to set os.umask(0) before I saved the file but the
same exception threw. But If I am the same domain user with local
admin permission on a windows box, I have no problem with the same
script. Does anyone ever have the same situation and know a work
around for this? Thanks.

Best,

Vix



More information about the Python-list mailing list