]> ruderich.org/simon Gitweb - safcm/safcm.git/commit
sync: tests: use strict perm for os.WriteFile() in CreateFile()
authorSimon Ruderich <simon@ruderich.org>
Sun, 9 May 2021 10:15:58 +0000 (12:15 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sun, 9 May 2021 13:15:43 +0000 (15:15 +0200)
commit6089e2fbed6bf995122f331ceffcfc8c7b9dda31
treef6d8311d753531d35a3525d3df28bd321cc60f93
parent00e0fb787000a8c2c98942dfa0ed7fc1d7c418af
sync: tests: use strict perm for os.WriteFile() in CreateFile()

This parameter is modified by the umask. The proper permissions are set
by os.Chmod() afterwards. Don't confuse the reader by using a value
which is not relevant.
cmd/safcm-remote/sync/filetest/filetest.go