Search Postgresql Archives

Re: Access disk from plpython

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/14/2012 08:48 AM, Rhys A.D. Stewart wrote:
This is it:

ERROR:  IOError: [Errno 13] Permission denied: '/root/p1/me.txt'

CONTEXT:  Traceback (most recent call last):

   PL/Python anonymous code block, line 3, in <module>

     t = open('/root/p1/me.txt','w')

PL/Python anonymous code block


CCing the list.

Does the file already exist?
If so, does the file itself have the correct permissions?

--
Adrian Klaver
adrian.klaver@xxxxxxxxx


--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux