The ebuild chmod -R 644's the dir /usr/share/doc/qwtplot3d-0.2.6/examples/, but doesn't set the execute bits on the dir's. The follwoing fixed the problem: cd /usr/share/doc/qwtplot3d-0.2.6/examples/ chmod 755 . simpleplot/ mesh2/ enrichments/ axes/ autoswitch/ axes/src/ enrichments/src/ mesh2/src/ Reproducible: Always Steps to Reproduce: 1. USE="docs" emerge qwtplot3d Actual Results: $ cd /usr/share/doc/qwtplot3d-0.2.6/examples/ bash: cd: /usr/share/doc/qwtplot3d-0.2.6/examples/: Permission denied $ ls -ld /usr/share/doc/qwtplot3d-0.2.6/examples/ drw-r--r-- 7 root root 1256 Oct 21 14:49 /usr/share/doc/qwtplot3d-0.2.6/examples/ Expected Results: directory should be user readable
And... - the license is wrong. It's ZLIB, not as-is. There are many licenses which have an "as is" sentence, but that doesn't mean that it's the classic as-is license. - the examples should be installed using the exapmles use flag. - with use foo && ( blah blah ) you unnecessarily open a subshell. if ... then is the better choice.
Fixed I think - let me know if there are any further issues with it. Added it as a dep to qtiplot and didn't pay enough attention to some of the finer details obviously, sorry.
I'm using qwtplot3d-0.2.6-r2 and just found that two dirs still have 644 mask instead of 755 although there have been listed already. This are: /usr/share/doc/qwtplot3d-0.2.6-r2/examples/mesh2/src /usr/share/doc/qwtplot3d-0.2.6-r2/examples/enrichments/src