Author: jkupec Date: Mon Oct 13 15:53:27 2008 New Revision: 11320 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11320&view=rev Log: - log also uids of the .curlrc owner and process Modified: trunk/libzypp/zypp/media/CurlConfig.cc Modified: trunk/libzypp/zypp/media/CurlConfig.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/media/CurlConfig.cc?rev=11320&r1=11319&r2=11320&view=diff ============================================================================== --- trunk/libzypp/zypp/media/CurlConfig.cc (original) +++ trunk/libzypp/zypp/media/CurlConfig.cc Mon Oct 13 15:53:27 2008 @@ -45,8 +45,12 @@ } else { + char buf[256] = {NULL}; WAR << "Not allowed to parse '" << curlrcFile - << "': owner is not root" << std::endl; + << "': dir/file owner: " << h_info.owner() << "/" << c_info.owner() + << ", process uid: " << getuid() + << " (" << (!getlogin_r(buf, 31) ? buf : "") << ")" << std::endl; + return 1; } -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org