Changes by: szaka
Update of /cvs/linux-ntfs/ntfsprogs/ntfsprogs
In directory delta357.server4you.de:/tmp/cvs-serv16824
Modified Files:
ntfsclone.c
Log Message:
don't create image files with executable bit set
Index: ntfsclone.c
===================================================================
RCS file: /cvs/linux-ntfs/ntfsprogs/ntfsprogs/ntfsclone.c,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -p -r1.81 -r1.82
--- ntfsclone.c 13 Aug 2006 14:34:07 -0000 1.81
+++ ntfsclone.c 13 Aug 2006 14:40:28 -0000 1.82
@@ -1671,7 +1671,7 @@ int main(int argc, char **argv)
flags |= O_EXCL;
}
- if ((fd_out = open(opt.output, flags, S_IRWXU)) == -1)
+ if ((fd_out = open(opt.output, flags, S_IRUSR | S_IWUSR)) == -1)
perr_exit("Opening file '%s' failed", opt.output);
if (!opt.save_image)
|