EbuildBuildDir: allow EPERM when removing catdir
diff --git a/pym/_emerge/EbuildBuildDir.py b/pym/_emerge/EbuildBuildDir.py
index 851ba7e..1da3c93 100644
--- a/pym/_emerge/EbuildBuildDir.py
+++ b/pym/_emerge/EbuildBuildDir.py
@@ -90,7 +90,7 @@
 			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()