[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/device-mapper-multipath/devel cache_open_mode.patch,NONE,1.1



Update of /cvs/dist/rpms/device-mapper-multipath/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv3509

Added Files:
	cache_open_mode.patch 
Log Message:
fix open mode


cache_open_mode.patch:
 cache.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE cache_open_mode.patch ---
--- multipath-tools-0.4.4.2/libmultipath/cache.c	2005-04-11 10:46:14.000000000 +0100
+++ multipath-tools-0.4.4.2-new/libmultipath/cache.c	2005-04-19 18:20:16.000000000 +0100
@@ -86,7 +86,7 @@
 	off_t record_len;
 	struct path * pp;
 
-	fd = open(CACHE_TMPFILE, O_RDWR|O_CREAT);
+	fd = open(CACHE_TMPFILE, O_RDWR|O_CREAT, 0600);
 
 	if (fd < 0)
 		return 1;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]