[Pkg-libvirt-commits] [libguestfs] 167/233: appliance: Create checksum file with mode 0644 instead of 0755.
Hilko Bengen
bengen at moszumanska.debian.org
Wed Feb 19 21:11:56 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch experimental
in repository libguestfs.
commit c841d08d7084db69e81614d54423686cf0566ad6
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Wed Jan 29 09:31:24 2014 +0000
appliance: Create checksum file with mode 0644 instead of 0755.
Initial commit 4beb2844091310012b5e28971707397d1d51d833 used mode 0755
for no reason. It seems to have been a mistake.
---
src/appliance.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/appliance.c b/src/appliance.c
index 08138de..3eaf635 100644
--- a/src/appliance.c
+++ b/src/appliance.c
@@ -492,7 +492,7 @@ build_supermin_appliance (guestfs_h *g,
/* Open and acquire write lock on checksum file. The file might
* not exist, in which case we want to create it.
*/
- int fd = open (filename, O_WRONLY|O_CREAT|O_NOCTTY|O_CLOEXEC, 0755);
+ int fd = open (filename, O_WRONLY|O_CREAT|O_NOCTTY|O_CLOEXEC, 0644);
if (fd == -1) {
perrorf (g, "open: %s", filename);
guestfs___recursive_remove_dir (g, tmpcd);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list