Skip to content

Commit 6587989

Browse files
authored
Merge pull request microsoft#112 from Microsoft/etc_perms
Change permissions of etc directory from 0700 to 0755
2 parents b8aae4a + 4604cf0 commit 6587989

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

service/gcs/core/gcs/gcs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ func (c *gcsCore) CreateContainer(id string, settings prot.VMHostedContainerSett
175175
// supposed to be read-only layer in the overlay... Ideally,
176176
// dockerd would pass a runc config with a bind mount for
177177
// /etc/resolv.conf like it does on unix.
178-
if err := c.OS.MkdirAll(filepath.Join(baseFilesPath, "etc"), 0700); err != nil {
178+
if err := c.OS.MkdirAll(filepath.Join(baseFilesPath, "etc"), 0755); err != nil {
179179
return errors.Wrapf(err, "failed to create resolv.conf directory")
180180
}
181181

0 commit comments

Comments
 (0)