[yast-commit] r59852 - in /trunk/yast2: library/modules/Linuxrc.ycp package/yast2.changes
Author: locilka Date: Mon Nov 30 10:27:15 2009 New Revision: 59852 URL: http://svn.opensuse.org/viewcvs/yast?rev=59852&view=rev Log: Fixed access rights for /etc/install.inf (bnc #500124) Modified: trunk/yast2/library/modules/Linuxrc.ycp trunk/yast2/package/yast2.changes Modified: trunk/yast2/library/modules/Linuxrc.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/modules/Linuxrc.ycp?rev=59852&r1=59851&r2=59852&view=diff ============================================================================== --- trunk/yast2/library/modules/Linuxrc.ycp (original) +++ trunk/yast2/library/modules/Linuxrc.ycp Mon Nov 30 10:27:15 2009 @@ -148,9 +148,11 @@ if (root != nil && root != "" && root != "/") { if (WFM::Read (.local.size, inst_if_file) != -1) { y2milestone ("Copying %1 to %2", inst_if_file, root); - WFM::Execute (.local.bash, sformat ( - "grep -v '^Sourcemounted' '%1' > %2/%1; chmod 0600 %1", inst_if_file, root - )); + if ((integer) WFM::Execute (.local.bash, sformat ( + "grep -vi '^Sourcemounted' '%1' > %2/%1; chmod 0600 %2/%1", inst_if_file, root + )) != 0) { + y2error ("Cannot SaveInstallInf %1 to %2", inst_if_file, root); + } } else { y2error ("Can't SaveInstallInf, file %1 doesn't exist", inst_if_file); } Modified: trunk/yast2/package/yast2.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/package/yast2.changes?rev=59852&r1=59851&r2=59852&view=diff ============================================================================== --- trunk/yast2/package/yast2.changes (original) +++ trunk/yast2/package/yast2.changes Mon Nov 30 10:27:15 2009 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu Nov 26 19:40:24 CET 2009 - locilka@suse.cz + +- Fixed access rights for /etc/install.inf (bnc #500124) + +------------------------------------------------------------------- Thu Nov 26 18:10:42 CET 2009 - kmachalkova@suse.cz - Fixed striping trailing \n from Hostname::CurrentHostname() -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
locilka@svn.opensuse.org