PermissionError when trying to analyze boot.img
IRC Log:
<OctoNezd> also, I get command failed % mkdir -p /home/octo/.local/var/pmbootstrap/cache_http
<matt07211> ^ Same happend to me lastnight. Fix: take ownership of the files usig chown and make them RW with chmod
<ata2001[m]> octoenzd: what error/retcode
<OctoNezd> PermissionError: [Errno 13] Permission denied: '/home/octo/.local/var/pmbootstrap/log.txt'
Workaround:
<matt07211> chown octo:octo /home/octo/.local/var/pmbootstrap/
<matt07211> and
<matt07211> chmod -R 755 /home/octo/.local/var/pmbootstrap/
Log:
octo@ubuntu:~$ pmbootstrap log
Traceback (most recent call last):
File "/usr/local/bin/pmbootstrap", line 26, in <module>
sys.exit(pmb.main())
File "/home/octo/pmbootstrap/pmb/__init__.py", line 35, in main
pmb_logging.init(args)
File "/home/octo/pmbootstrap/pmb/helpers/logging.py", line 86, in init
setattr(args, "logfd", open(args.log, "a+"))
PermissionError: [Errno 13] Permission denied: '/home/octo/.local/var/pmbootstrap/log.txt'
Running on Ubuntu Server 17.10 in Oracle VM Virtualbox