Bench Start Error - Debian 7 Test

I’m attempting to understand some of the errors I get better, so I created a new VM of Debian 7.

What I’ve done:

sudo python --production

This is the result of bench start… … where did I go wrong?

Frappe/ERPNext has been successfully installed!
cgp@debian:~$ cd /home/frappe/frappe-bench
cgp@debian:/home/frappe/frappe-bench$ bench start
Traceback (most recent call last):
  File "/usr/local/bin/bench", line 11, in <module>
	load_entry_point('bench', 'console_scripts', 'bench')()
  File "/home/frappe/.bench/bench/", line 40, in cli
  File "/usr/local/lib/python2.7/dist-packages/click/", line 716, in __call__
	return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/", line 696, in main
	rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/", line 1057, in invoke
	Command.invoke(self, ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/", line 889, in invoke
	return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/", line 534, in invoke
	return callback(*args, **kwargs)
  File "/home/frappe/.bench/bench/commands/", line 21, in bench_command
  File "/home/frappe/.bench/bench/", line 265, in setup_logging
	hdlr = logging.FileHandler(log_file)
  File "/usr/lib/python2.7/logging/", line 901, in __init__
	StreamHandler.__init__(self, self._open())
  File "/usr/lib/python2.7/logging/", line 924, in _open
	stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/home/frappe/frappe-bench/logs/bench.log'

It seems permission issue.

Try by switching to frappe user su frappe and go to frappe-bench and run bench start