summaryrefslogtreecommitdiff
path: root/apps/onplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/onplay.c')
-rw-r--r--apps/onplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/onplay.c b/apps/onplay.c
index e2037ad4fa..617f523879 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -666,7 +666,7 @@ static bool clipboard_pastefile(const char *src, const char *target, bool copy)
666 src_fd = open(src, O_RDONLY); 666 src_fd = open(src, O_RDONLY);
667 667
668 if (src_fd >= 0) { 668 if (src_fd >= 0) {
669 target_fd = creat(target); 669 target_fd = creat(target, 0666);
670 670
671 if (target_fd >= 0) { 671 if (target_fd >= 0) {
672 result = true; 672 result = true;