Hello community, here is the log from the commit of package xfsdump checked in at Fri Aug 31 16:05:16 CEST 2007. -------- --- xfsdump/xfsdump.changes 2007-06-22 17:40:28.000000000 +0200 +++ /mounts/work_src_done/STABLE/xfsdump/xfsdump.changes 2007-08-31 14:21:32.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Aug 31 14:21:14 CEST 2007 - mmarek@suse.cz + +- fixed missing mode arguments to open() + +------------------------------------------------------------------- New: ---- xfsdump-fix-open-calls.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xfsdump.spec ++++++ --- /var/tmp/diff_new_pack.I31494/_old 2007-08-31 16:04:59.000000000 +0200 +++ /var/tmp/diff_new_pack.I31494/_new 2007-08-31 16:04:59.000000000 +0200 @@ -13,14 +13,15 @@ Name: xfsdump BuildRequires: e2fsprogs-devel libattr-devel ncurses-devel xfsprogs-devel Version: 2.2.45 -Release: 1 +Release: 17 Autoreqprov: on Group: System/Filesystems -License: GNU General Public License (GPL) +License: GPL v2 or later URL: http://oss.sgi.com/projects/xfs/ Summary: Administrative Utilities for the XFS File System Source0: xfsdump_%version-1.tar.bz2 Patch0: xfsdump-docdir.diff +Patch1: xfsdump-fix-open-calls.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -49,6 +50,7 @@ %prep %setup -q %patch0 +%patch1 %build %{suse_update_config -f} @@ -79,6 +81,8 @@ /usr/share/man/man8/* %changelog +* Fri Aug 31 2007 - mmarek@suse.cz +- fixed missing mode arguments to open() * Fri Jun 22 2007 - mmarek@suse.cz - updated to 2.2.45 * Change fsr's temp directory mode to 0700 to deny full access. ++++++ xfsdump-fix-open-calls.patch ++++++ Index: invutil/invidx.c =================================================================== RCS file: /cvs/xfs-cmds/xfsdump/invutil/invidx.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -u -r1.7 -r1.8 --- invutil/invidx.c 24 May 2006 06:08:55 -0000 1.7 +++ invutil/invidx.c 24 Aug 2007 19:36:15 -0000 1.8 @@ -275,7 +275,7 @@ return 0; } - new_fd = open(dst_idxfile, O_CREAT|O_RDWR); + new_fd = open(dst_idxfile, O_CREAT|O_RDWR, S_IRUSR|S_IWUSR); if(new_fd < 0) { put_error("Error: unable to open inventory index file"); return 0; @@ -616,7 +616,7 @@ invt_sescounter_t sescnt; /* create the new storage object */ - if (( fd = open( fname, O_RDWR | O_EXCL | O_CREAT )) < 0 ) { + if (( fd = open( fname, O_RDWR | O_EXCL | O_CREAT, S_IRUSR|S_IWUSR )) < 0 ) { return -1; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org