]> ruderich.org/simon Gitweb - nsscash/nsscash.git/blobdiff - file_test.go
nsscash: remove write permissions of created files
[nsscash/nsscash.git] / file_test.go
index 59cb169f8abf66f51cbb7b30a178d6bfbe14a096..f192d7af981a88eedaba9daa79b963c4ac795b5d 100644 (file)
@@ -45,7 +45,7 @@ func TestDeployFile(t *testing.T) {
        }{
                {
                        0644,
-                       0644,
+                       0444,
                },
                {
                        0400,
@@ -53,15 +53,15 @@ func TestDeployFile(t *testing.T) {
                },
                {
                        0600,
-                       0600,
+                       0400,
                },
                {
                        0777,
-                       0777,
+                       0555,
                },
                {
                        0666,
-                       0666,
+                       0444,
                },
                {
                        0000,