+++ /dev/null
---- librtas_src/syscall_rmo.bak 2010-02-01 10:38:01.000000000 -0500
-+++ librtas-1.3.3/librtas_src/syscall_rmo.c 2010-02-01 10:38:25.000000000 -0500
-@@ -117,7 +117,7 @@
-
- /* Lazily open lock file */
- if (wa_config.lockfile_fd < 0) {
-- wa_config.lockfile_fd = open(lockfile_path, O_CREAT | O_RDWR);
-+ wa_config.lockfile_fd = open(lockfile_path, O_CREAT | O_RDWR, 644);
- if (wa_config.lockfile_fd < 0) {
- dbg1("could not open lockfile %s\n", lockfile_path);
- return RTAS_IO_ASSERT;
---- librtas_src/common.bak 2010-02-01 10:37:34.000000000 -0500
-+++ librtas-1.3.3/librtas_src/common.c 2010-02-01 10:37:50.000000000 -0500
-@@ -65,7 +65,7 @@
- npaths = sizeof(proc_rtas_paths) / sizeof(char *);
- for (i = 0; i < npaths; i++) {
- sprintf(full_name, "%s/%s", proc_rtas_paths[i], name);
-- fd = open(full_name, mode);
-+ fd = open(full_name, mode, 644);
- if (fd >= 0)
- break;
- }
+++ /dev/null
---- librtas-1.3.3.orig/Makefile 2007-04-12 15:01:01.000000000 -0500
-+++ librtas-1.3.3/Makefile 2007-05-29 11:55:54.000000000 -0500
-@@ -15,11 +15,9 @@
- @$(foreach d,$(SUBDIRS), $(MAKE) -C $d;)
-
- install:
-- @$(call install_doc,$(FILES),$(DESTDIR))
- @$(foreach d,$(SUBDIRS), $(MAKE) -C $d install;)
-
- uninstall:
-- @$(call uninstall_doc,$(FILES),$(DESTDIR))
- @$(foreach d,$(SUBDIRS), $(MAKE) -C $d uninstall;)
-
- rpm: all