discover/file: Add sensible perms when using replace_file
authorJeremy Kerr <jk@ozlabs.org>
Thu, 15 Aug 2013 07:28:06 +0000 (15:28 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Fri, 16 Aug 2013 04:43:39 +0000 (12:43 +0800)
commitf4ebd9c3c3767802178ab92204f499042c124d49
treebca04f195e702e645a3b3d9d19839901f0287046
parented5737a33ba41d095db5ae42ddfab7fe49500b9c
discover/file: Add sensible perms when using replace_file

Rather than no access at all, use a default of 0644.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/file.c