Add 20_fix_postfwd1_default_umask.patch to fix postfwd default umask
(Closes: #717607), thanks Jesse Norell
This commit is contained in:
		
							parent
							
								
									f7da50f0b8
								
							
						
					
					
						commit
						dd5f01dca6
					
				
					 2 changed files with 16 additions and 0 deletions
				
			
		
							
								
								
									
										15
									
								
								debian/patches/20_fix_postfwd1_default_umask.patch
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								debian/patches/20_fix_postfwd1_default_umask.patch
									
										
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,15 @@
 | 
			
		|||
From: Jan Wagner <waja@cyconet.org>
 | 
			
		||||
Subject: Fixing default umask of postfwd
 | 
			
		||||
diff --git a/sbin/postfwd b/sbin/postfwd
 | 
			
		||||
index e17a729..62f90bb 100755
 | 
			
		||||
--- a/sbin/postfwd
 | 
			
		||||
+++ b/sbin/postfwd
 | 
			
		||||
@@ -49,7 +49,7 @@ our($def_net_chroot)		= "";
 | 
			
		||||
 our($def_net_interface)		= "127.0.0.1";
 | 
			
		||||
 our($def_net_port)		= "10040";
 | 
			
		||||
 our($def_net_proto)		= "tcp";
 | 
			
		||||
-our($def_net_umask)		= "0111";
 | 
			
		||||
+our($def_net_umask)		= "0177";
 | 
			
		||||
 our($def_net_user)		= "nobody";
 | 
			
		||||
 our($def_net_group)		= "nobody";
 | 
			
		||||
 our($def_dns_queuesize)		= "300";
 | 
			
		||||
							
								
								
									
										1
									
								
								debian/patches/series
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								debian/patches/series
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -1 +1,2 @@
 | 
			
		|||
10_fix_wording_manpages.patch
 | 
			
		||||
20_fix_postfwd1_default_umask.patch
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue