Package: wavsplit
Version: 1.1.0-3
Severity: minor
Tags: patch

The output files from wavsplit are mode 700 for no reason.  Should be
mode 666 minus current umask, like normal Unix programs.  The patch is
simple enough.

I note in passing that the associated mkdir() correctly uses mode 777.

--- wavsplit.c
+++ wavsplit.c
@@ -454,7 +454,7 @@
 {
   char ofile[MAX_PATH + 1];
   sprintf (ofile, "%s/%02d.wav", basename, num);
-  ofd = creat (ofile, S_IRWXU);
+  ofd = creat (ofile, 0666);
   if (ofd == -1) {
     printf ("Could not create output file '%s'.\n", ofile);
     return 1;

Attachment: signature.asc
Description: Digital signature

Reply via email to