Skip to content

Directories missing exec bits #82

Closed

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.

Activity

  1. AntonioMeireles commented on Jul 12, 2016

    @AntonioMeireles
    Member

    @jacobat THANKS!!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      ⌂ 换网址