Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37861647
en ru br
ALT Linux repos
S:2.1-alt1.gst

Group :: System/Configuration/Printing
RPM: oki4linux

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: oki4linux-2.0-daemon-mdk.patch
Download


--- oki4linux-2.0/src/oki4daemon.orig	Sat Feb 24 17:42:07 2001
+++ oki4linux-2.0/src/oki4daemon	Sat Feb 24 17:46:15 2001
@@ -36,9 +36,12 @@
 $fifo = $opt_f if ($opt_f);
 
 if (! -p $fifo) {
-    system("mkfifo $fifo 0600") == 0
+    system("mkfifo $fifo -m0660") == 0
 	or die "Unable to make named pipe $fifo";
 }
+
+#system("chown lp.sys $fifo; chmod 660 $fifo") == 0
+#    or die "Unable to set ownerships/permissions for named pipe $fifo";
 
 # Step 1.5: dissociate, daemonize, &c...
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin