← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1666446] Re: Create directory

 

Ok
Which permissions the created directories have ?


** Changed in: cloud-init
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1666446

Title:
  Create directory

Status in cloud-init:
  Invalid

Bug description:
  Cloud-init has writefiles, but it looks like it does not have the
  capability to create directories.

  how is mixing

  runcmd:
   - mkdir /home/toto/bin

  and

  write_files:
   - content: |
          #!/bin/sh
          echo "Hello world!"

      path: /home/toto/bin/hw.sh
      permissions: '0755'

  going to work ?

  Is runcmd garanteed to happen before write_files ?
  What about a "users" section ?

  This is the same kind of problem that is reported here:
  https://bugs.launchpad.net/cloud-init/+bug/1486113

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1666446/+subscriptions


References