When starting initially the .coreos directory is created without the exec bit.
$ mv ~/.coreos ~/.coreos.bak
$ corectld start
[ERROR] mkdir /Users/jacob/.coreos/images: permission denied
$ ls -la ~ | grep coreos | head -n1
drw-r--r-- 2 jacob staff 68 12 Jul 11:26 .coreos
Adding the exec bit manually I then see the images directory missing the exec bit.
$ chmod +x ~/.coreos
$ corectld start
[ERROR] mkdir /Users/jacob/.coreos/images/alpha: permission denied
$ ls -l ~/.coreos/
total 0
drw-r--r-- 2 jacob staff 68 12 Jul 11:28 images
After this I can start corectld. I still can't start a vm though:
/Users/jacob/.coreos/images:
total 0
drw-r--r-- 2 jacob staff 68 12 Jul 11:33 alpha
drw-r--r-- 2 jacob staff 68 12 Jul 11:33 beta
drw-r--r-- 2 jacob staff 68 12 Jul 11:33 stable
and
---> downloading and verifying alpha/1097.0.0
[ERROR] mkdir /Users/jacob/.coreos/tmp/coreos801891959: permission denied
so I have to chmod +x ~/.coreos/images/* ; chmod +x ~/.coreos/tmp as well.
When starting initially the
.coreosdirectory is created without the exec bit.Adding the exec bit manually I then see the images directory missing the exec bit.
After this I can start
corectld. I still can't start a vm though:and
so I have to
chmod +x ~/.coreos/images/* ; chmod +x ~/.coreos/tmpas well.