From b66262b057a5c4574f372bd281982c0e316ecb85 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 22 Oct 2010 13:20:50 -0700 Subject: [PATCH] EbuildBuildDir: allow EPERM when removing catdir --- pym/_emerge/EbuildBuildDir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/EbuildBuildDir.py b/pym/_emerge/EbuildBuildDir.py index ba18269b1..c901fe667 100644 --- a/pym/_emerge/EbuildBuildDir.py +++ b/pym/_emerge/EbuildBuildDir.py @@ -90,7 +90,7 @@ class EbuildBuildDir(SlotObject): os.rmdir(self._catdir) except OSError as e: if e.errno not in (errno.ENOENT, - errno.ENOTEMPTY, errno.EEXIST): + errno.ENOTEMPTY, errno.EEXIST, errno.EPERM): raise finally: catdir_lock.unlock() -- 2.26.2