Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37824799
en ru br
ALT Linux repos
S:0.1.9.1-alt1.qa1

Group :: Networking/Other
RPM: nettee

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: nettee-0.1.9.1-openoptions.patch
Download


--- nettee-0.1.9.1/nettee.c.orig	2008-12-20 00:00:54 +0200
+++ nettee-0.1.9.1/nettee.c	2009-07-25 19:46:08 +0300
@@ -860,7 +860,7 @@
     return 0;  /* there may be no local output, subsequent commands must handle this*/
   }
   else{
-    output = open(name, O_CREAT | O_WRONLY | O_TRUNC | FLOPT);
+    output = open(name, O_CREAT | O_WRONLY | O_TRUNC | FLOPT, S_IRUSR | S_IWUSR);
   }
   if(output == -1) {
     if(try_hard == 1) {
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin