[Zope] Python Script Permission Problem

Jeff Hotz jeff@hotz.net
Mon, 16 Jul 2001 17:16:20 -0500


When I run the following python script, Zope asks me to log in.  I would 
like for it NOT to require authorization.  But, even when I login with a 
valid Zope Administrator uid/pwd, it won't work.

Python Script "rotateImage" has Proxy Roles Anonymous, Manager, Owner
import os
cmd="convert -rotate 90 /usr/local/zope/2-3-2/var/photos/1999/P1010559.JPG 
/usr/local/zope/2-3-2/var/photos/1999/P1010559.JPG
os.system(cmd)

the script is called from rotateImageFile_dtml with Proxy Roles Anonymous, 
Manager, Owner
<dtml-call expr="rotateImage('arg1')">

Zope runs as Nobody and was installed based on Chris's great HOWTO here -> 
http://www.zope.org/Members/mcdonc/HowTos/zopeinstall/ZOPE-INSTALL-HOWTO

File permissions are as follows
/usr/local/zope/2-3-2/var               nobody  jchotz  drwxrwxr-x
/usr/local/zope/2-3-2/var/photos                nobody  nobody  drwxrwxrwx

all /photos children directories and files are nobody nobody rwxrwxrwx

What am I missing?



jeff@hotz.net
www.hotz.net