summaryrefslogtreecommitdiff
path: root/print/hplip/files/patch-prnt_backend_hp.c
blob: 966376edcb16365d5aba7c78f31e2b5e76306cbe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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
     {