e.g. ls -al /usr/share/qcad-parts-2.0.1.2/mechanical/DIN_7991/M3/ total 292 drwxrwxr-x 2 root root 4096 Nov 22 17:56 . drwxr-xr-x 15 root root 4096 Nov 22 17:56 .. -rw-r--r-- 1 root root 63 Dec 2 02:46 M3_DIN7991_t.dat -rw-rw-rw- 1 root root 8632 Dec 2 02:46 M3_DIN7991_t.dxf -rw-r--r-- 1 root root 63 Dec 2 02:46 M3_DIN7991_w.dat -rw-rw-rw- 1 root root 8059 Dec 2 02:46 M3_DIN7991_w.dxf -rw-r--r-- 1 root root 63 Dec 2 02:46 M3x10_DIN7991_f.dat -rw-rw-rw- 1 root root 10075 Dec 2 02:46 M3x10_DIN7991_f.dxf -rw-r--r-- 1 root root 63 Dec 2 02:46 M3x12_DIN7991_f.dat [...] I don't think this is needed. Reproducible: Always Steps to Reproduce: 1. emerge -pv sci-misc/qcad-parts-2.0.1.2 2. /usr/bin/find /usr/share/qcad-parts-2.0.1.2/ -type f \( -perm -2 \) -exec ls -l {} \; 2>/dev/null > writable.txt Actual Results: The file writable.txt that is created in 2. is not empty. Expected Results: Normally installed files shouldn't be world-writable.
Created attachment 74610 [details, diff] fix permissions of files/directories Hi, Could you please test if the attached patch fixes the permission issues on your machine and still allows the qcad files to be used properly. Thanks, Markus
Patch seems to work. One can still add parts from the library to an image.
Created attachment 76466 [details, diff] updated ebuild Sorry for the delay in responding. I have completely reworked the ebuild and it would be great if you could test it with you qcad install before I commit to portage. Thanks, Markus
It works.
Hi Andy, Thanks for testing! qcad-parts-2.0.1.2-r1 has been committed to portage and fixes the world writable files issue. x86, ppc, amd64 folks: Since the ebuild only installs some helper files in /usr/share, could we possibly stabilize it soon in order to pull these world writable files out of peoples' systems? Thanks, Markus
x86 done
amd64 done.
qcad-parts-2.0.1.2-r1 has been stabilized on all supported arches. Thanks all for your help!