Use ensure_dirs() and apply_permissions() to avoid redundant chown/chmod calls. This...
authorZac Medico <zmedico@gentoo.org>
Sun, 16 Sep 2007 22:01:25 +0000 (22:01 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 16 Sep 2007 22:01:25 +0000 (22:01 -0000)
commit9e4c01ed7e6b3db97d43ba10fc460e241278b197
tree00181a06870c8be9b9b7415c2c41bd17b157d917
parent37fbb95bf02ccd6c55ca715d18ecacb922a6ceec
Use ensure_dirs() and apply_permissions() to avoid redundant chown/chmod calls. This helps avoid 'Permission denied' errors during elog_process() when the ebuild command is run by normal user (issue reported by graaff).

svn path=/main/trunk/; revision=7789
pym/portage/elog/mod_save.py
pym/portage/elog/mod_save_summary.py