Skip to content

Directories missing exec bits #82

@jacobat

Description

@jacobat

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions