summaryrefslogtreecommitdiff
path: root/media-sound/poc/files/poc-0.4.1-file-perms.patch
blob: 71360341f0cf6c98ce70049bb40224105b04b5c0 (plain)
1
2
3
4
5
6
7
8
9
Creating mp3 files with u+x attributes is just silly

--- a/file.c
+++ b/file.c
@@ -136,3 +136,3 @@
     file->fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC,
-                    S_IRWXU | S_IRGRP | S_IROTH);
+                    S_IRUSR|S_IWUSR | S_IRGRP | S_IROTH);