Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Commit

Permalink
fix: reduce default perms for output directory
Browse files Browse the repository at this point in the history
  • Loading branch information
clareliguori committed Jul 17, 2020
1 parent 73ef09c commit 3383ec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion img2lambda/extract/repack_image.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func repackImage(opts *repackOptions) (layers []types.LambdaLayer, function *typ
log.Printf("Image %s has %d layers", opts.imageName, len(layerInfos))

// Unpack and inspect each image layer, copy relevant files to new Lambda layer or to a Lambda deployment package
if err := os.MkdirAll(opts.layerOutputDir, 0777); err != nil {
if err := os.MkdirAll(opts.layerOutputDir, 0755); err != nil {
return nil, nil, err
}

Expand Down

0 comments on commit 3383ec2

Please sign in to comment.