【发布时间】:2016-10-20 16:01:21
【问题描述】:
我已经在谷歌应用引擎中启动了一个 cron,并将一些内容写入文件 test.txt,但是当我在我的开发服务器中的 http://localhost:8000/cron 中运行 cron 时,这个输出给了我 500 错误。
File "/base/data/home/apps/s~stock-analysis-1344/1.393612282659426384/hello.py", line 8, in get
f = open("test.txt","w") #opens file with name of "test.txt"
IOError: [Errno 30] Read-only file system: 'test.txt'
【问题讨论】:
标签: python-2.7 google-app-engine cron file-permissions