vagrant: PermissionError: [Errno 13] Permission denied: '/home/vagrant'
- On the latest master branch I set up a vagrant box and ran
sudo -u plinth /vagrant/run --develop
- On the Web UI I opted to upgrade the system now.
- Vagrant stopped with the following output:
INFO cherrypy.error [04/Feb/2023:23:16:03] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('127.0.0.1', 8000)) shut down
INFO plinth.glib Exiting glib main loop
INFO cherrypy.error [04/Feb/2023:23:16:03] ENGINE Bus STOPPED
INFO cherrypy.error [04/Feb/2023:23:16:03] ENGINE Bus EXITING
INFO cherrypy.error [04/Feb/2023:23:16:03] ENGINE Bus EXITED
INFO plinth.glib Glib main loop thread exited.
INFO cherrypy.error [04/Feb/2023:23:16:03] ENGINE Waiting for child threads to terminate...
INFO cherrypy.error [04/Feb/2023:23:16:03] ENGINE Re-spawning /usr/bin/python3 /vagrant/run --develop
Traceback (most recent call last):
File "/vagrant/run", line 8, in <module>
plinth.__main__.main()
File "/vagrant/plinth/__main__.py", line 155, in main
web_server.run(on_web_server_stop)
File "/vagrant/plinth/web_server.py", line 91, in run
cherrypy.engine.block()
File "/usr/lib/python3/dist-packages/cherrypy/process/wspbus.py", line 369, in block
self._do_execv()
File "/usr/lib/python3/dist-packages/cherrypy/process/wspbus.py", line 402, in _do_execv
os.chdir(_startup_cwd)
PermissionError: [Errno 13] Permission denied: '/home/vagrant'