[yast-commit] r59776 - in /branches/SuSE-Code-11-SP1-Branch/yast2: library/modules/Linuxrc.ycp package/yast2.changes
Author: locilka Date: Thu Nov 26 13:44:30 2009 New Revision: 59776 URL: http://svn.opensuse.org/viewcvs/yast?rev=59776&view=rev Log: Fixed access rights for /etc/install.inf (bnc #500124) Modified: branches/SuSE-Code-11-SP1-Branch/yast2/library/modules/Linuxrc.ycp branches/SuSE-Code-11-SP1-Branch/yast2/package/yast2.changes Modified: branches/SuSE-Code-11-SP1-Branch/yast2/library/modules/Linuxrc.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/yast2/library/modules/Linuxrc.ycp?rev=59776&r1=59775&r2=59776&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/yast2/library/modules/Linuxrc.ycp (original) +++ branches/SuSE-Code-11-SP1-Branch/yast2/library/modules/Linuxrc.ycp Thu Nov 26 13:44:30 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: branches/SuSE-Code-11-SP1-Branch/yast2/package/yast2.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/yast2/package/yast2.changes?rev=59776&r1=59775&r2=59776&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/yast2/package/yast2.changes (original) +++ branches/SuSE-Code-11-SP1-Branch/yast2/package/yast2.changes Thu Nov 26 13:44:30 2009 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu Nov 26 13:40:24 CET 2009 - locilka@suse.cz + +- Fixed access rights for /etc/install.inf (bnc #500124) + +------------------------------------------------------------------- Thu Nov 19 16:51:55 CET 2009 - locilka@susue.cz - REGISTERPRODUCT from content file moved to control file to -- 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