嗨,我有这个问题。 我想写txt文件有用的apache2和python CGI-SCRIPT。值发送有用的GETMETHOD。但浏览者说:
=> 30 with open('configuration.txt', 'w') as fp:
<type 'exceptions.IOError'>: [Errno 13] Permission denied: 'configuration.txt'
args = (13, 'Permission denied')
errno = 13
filename = 'configuration.txt'
message = ''
strerror = 'Permission denied'