# ls -la /usr/include/openmotif-2.2/ total 64 drwxr-xr-x 5 root root 4096 Apr 28 2005 . drwxr-xr-x 293 root root 40960 Apr 17 16:09 .. drw-r--r-- 2 root root 4096 Apr 28 2005 Mrm drw-r--r-- 2 root root 12288 Apr 28 2005 Xm drw-r--r-- 2 root root 4096 Apr 28 2005 uil This is obviousely incorrect. Remerging the library does not solve the issue. However in the image directory created by "ebuild openmotif-2.2.3-r9 install" the permissions are all right. Unmeging and remergeing solves the issue. I assume portage doesn't change permissions of existing dirs. I don't know where this issue came from in the first place, but I assume some previous ebuild did something wrong. If so, it would be nice for newer ebuilds to fix the issue.
*** This bug has been marked as a duplicate of bug 141619 ***