summaryrefslogtreecommitdiff
path: root/print/hplip/files/patch-prnt_backend_hp.c
diff options
context:
space:
mode:
Diffstat (limited to 'print/hplip/files/patch-prnt_backend_hp.c')
-rw-r--r--print/hplip/files/patch-prnt_backend_hp.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/hplip/files/patch-prnt_backend_hp.c b/print/hplip/files/patch-prnt_backend_hp.c
new file mode 100644
index 000000000000..966376edcb16
--- /dev/null
+++ b/print/hplip/files/patch-prnt_backend_hp.c
@@ -0,0 +1,11 @@
+--- prnt/backend/hp.c.orig 2022-02-23 07:41:04 UTC
++++ prnt/backend/hp.c
+@@ -649,7 +649,7 @@ static FILE* create_out_file(char* job_id, char* user_
+
+ if (temp_fp)
+ {
+- chmod(fname, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH);
++ chmod(fname, S_IRUSR | S_IWUSR | S_IRGRP | 0 | S_IROTH);
+ }
+ else
+ {