summaryrefslogtreecommitdiff
path: root/print/hplip/files/patch-prnt_hpcups_SystemServices.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'print/hplip/files/patch-prnt_hpcups_SystemServices.cpp')
-rw-r--r--print/hplip/files/patch-prnt_hpcups_SystemServices.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/hplip/files/patch-prnt_hpcups_SystemServices.cpp b/print/hplip/files/patch-prnt_hpcups_SystemServices.cpp
new file mode 100644
index 000000000000..c7e3fe13f475
--- /dev/null
+++ b/print/hplip/files/patch-prnt_hpcups_SystemServices.cpp
@@ -0,0 +1,11 @@
+--- prnt/hpcups/SystemServices.cpp.orig 2022-02-23 07:41:04 UTC
++++ prnt/hpcups/SystemServices.cpp
+@@ -42,7 +42,7 @@ SystemServices::SystemServices(int iLogLevel, int job_
+ createTempFile(fname, &m_fp);
+ if (m_fp)
+ {
+- chmod(fname, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH);
++ chmod(fname, S_IRUSR | S_IWUSR | S_IRGRP | 0 | S_IROTH);
+ }
+ }
+ }