Bill Seitz wrote:
My Zope v2.6.2 ExternalMethod is giving me an error when I try to open a file for writing.
Error: Module /home/zope/Zope/Extensions/notifyAdt.py, line 88, in seqPut IOError: [Errno 13] Permission denied: '/home/lii/logs/notifyAdtSeq.txt'
That line of code: sf = open(path+seqFile,'w')
(Since this code is also run outside Zope I just use a little file to hold a single value that I want to persist over time - it gets incremented each time.)
I think I've made the file as available as possible. -rwxrwxrwx 1 lii lii 1 Oct 27 13:39 notifyAdtSeq.txt
I'm guessing that the user as whom Zope is running needs to have write access to the directory where the 'open' takes place (but that is just a guess). Tres. -- =============================================================== Tres Seaver tseaver@zope.com Zope Corporation "Zope Dealers" http://www.zope.com