Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 82378
Collapse All | Expand All

(-)pym/portage.py (-2 / +4 lines)
Lines 3262-3269 Link Here
3262
			del mysettings["PORT_LOGDIR"]
3262
			del mysettings["PORT_LOGDIR"]
3263
	if "PORT_LOGDIR" in mysettings:
3263
	if "PORT_LOGDIR" in mysettings:
3264
		try:
3264
		try:
3265
			portage_util.ensure_dirs(mysettings["PORT_LOGDIR"],
3265
			modified = portage_util.ensure_dirs(mysettings["PORT_LOGDIR"])
3266
				uid=portage_uid, gid=portage_gid, mode=02770)
3266
			if modified:
3267
				apply_secpass_permissions(mysettings["PORT_LOGDIR"],
3268
					uid=portage_uid, gid=portage_gid, mode=02770)
3267
		except portage_exception.PortageException, e:
3269
		except portage_exception.PortageException, e:
3268
			writemsg("!!! %s\n" % str(e), noiselevel=-1)
3270
			writemsg("!!! %s\n" % str(e), noiselevel=-1)
3269
			writemsg("!!! Permission issues with PORT_LOGDIR='%s'\n" % \
3271
			writemsg("!!! Permission issues with PORT_LOGDIR='%s'\n" % \

Return to bug 82378