X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=cmd%2Fsafcm-remote%2Fsync%2Ffiletest%2Ffiletest.go;h=6a594e6ac37b13b0d77c87048ab0e86243293bbd;hb=583a2695a3ddc9c98e0a03d9f1bad8df30afe887;hp=b6fcb7c9bd2daef63fac32b8e2e7512215136a5e;hpb=304a68c565d58ae52dd39cf6e2d6ef52cada7d19;p=safcm%2Fsafcm.git diff --git a/cmd/safcm-remote/sync/filetest/filetest.go b/cmd/safcm-remote/sync/filetest/filetest.go index b6fcb7c..6a594e6 100644 --- a/cmd/safcm-remote/sync/filetest/filetest.go +++ b/cmd/safcm-remote/sync/filetest/filetest.go @@ -63,6 +63,7 @@ func WalkDir(basePath string) ([]File, error) { return err } f.Data = []byte(x) + f.Mode |= 0777 // see sync/files.go } res = append(res, f) return nil