Update error bench.log


I get an error when trying to run bench-update:

administrator@debian7:~/frappe-bench$ bench update
Traceback (most recent call last):
  File "/usr/local/bin/bench", line 9, in <module>
    load_entry_point('bench==0.1', 'console_scripts', 'bench')()
  File "/home/administrator/bench-repo/bench/cli.py", line 60, in cli
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 664, in __ca             ll__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 644, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 988, in invo             ke
    Command.invoke(self, ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 837, in invo             ke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 464, in invo             ke
    return callback(*args, **kwargs)
  File "/home/administrator/bench-repo/bench/cli.py", line 151, in bench
  File "/home/administrator/bench-repo/bench/utils.py", line 234, in setup_loggi             ng
    hdlr = logging.FileHandler(log_file)
  File "/usr/lib/python2.7/logging/__init__.py", line 901, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python2.7/logging/__init__.py", line 924, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 30] Read-only file system: '/home/administrator/frappe-bench/log             s/bench.log'

When I check the file bench.log I get this:

administrator@debian7:~/frappe-bench$ ls -l /home/administrator/frappe-bench/logs/bench.log  -rw-r--r-- 1 administrator administrator 5538 Oct  6 11:51 /home/administrator/frappe-bench/logs/bench.log

What is wrong?

Did you change the permissions on the logs folder?