Skip to content

Commit f5a14f8

Browse files
committed
change perm
1 parent 24209b8 commit f5a14f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

azbfs/zt_url_file_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,12 @@ func (s *FileURLSuite) TestFileCreateWithPermissions(c *chk.C) {
100100
// Create and delete file in root directory.
101101
file, _ := getFileURLFromFileSystem(c, fsURL)
102102

103-
_, err := file.Create(context.Background(), azbfs.BlobFSHTTPHeaders{}, azbfs.BlobFSAccessControl{Permissions: "0777"})
103+
_, err := file.Create(context.Background(), azbfs.BlobFSHTTPHeaders{}, azbfs.BlobFSAccessControl{Permissions: "0444"})
104104
defer delFile(c, file)
105105

106106
getResp, err := file.GetAccessControl(context.Background())
107107
c.Assert(err, chk.IsNil)
108-
c.Assert(getResp.Permissions, chk.Equals, "rwxrwxrwx")
108+
c.Assert(getResp.Permissions, chk.Equals, "r--r-----")
109109
}
110110

111111
func (s *FileURLSuite) TestFileCreateDeleteNonExistingParent(c *chk.C) {

0 commit comments

Comments
 (0)