aboutsummaryrefslogtreecommitdiff
path: root/archive/archive.go
diff options
context:
space:
mode:
Diffstat (limited to 'archive/archive.go')
-rw-r--r--archive/archive.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/archive/archive.go b/archive/archive.go
index 6941b64..08b1c75 100644
--- a/archive/archive.go
+++ b/archive/archive.go
@@ -74,9 +74,10 @@ func tarWalkfn(writer *tar.Writer) filepath.WalkFunc {
// TODO; See if tar.FileInfoheader() could be used instead
// without the pathing issues I encountered
h := &tar.Header{
- Name: path,
- Size: info.Size(),
- Mode: int64(info.Mode()),
+ Name: path,
+ Size: info.Size(),
+ // I don't like it... but it helps with platform compatibility
+ Mode: 0664,
ModTime: info.ModTime(),
}