a lot of file ownerships in /usr/share/gdesklets are set to a users id and so also writeable to my user. for example: -rw-r--r-- 1 andreas 1000 4083 2003-11-05 17:50 /usr/share/gdesklets/Sensors/SysInfo/gfx/boot.png I think it shoud be root:root. Problem could be solved if the ebuild for gdesklets use "install" with correct parameters instead of using "cp" to install the files. Reproducible: Always Steps to Reproduce: 1. 2. 3.
The 'cp -R' isn't actually the issue here. The files in the Sensors/ tree are installed by the included python script. The problem is that the install script uses tar and doesn't include the --no-same-owner parameter. For the desklet-sysinfo-0.21.2.ebuild this can be fixed by adding: sed -i -e "s:tar -xzvf:tar --no-same-owner -xzvf:" Install_${DESKLET_NAME}_Sensor.bin as a single line at the end of src_unpack().
thanks for the comment doug, the other option is just to recursively change the ownership of ${D} to root:root after installing to the image.
Okay, fixed in x11-plugins/desklet-: clock, cornerxmms, ltvariations, psisensors, starterbar, sysinfo, temperature, weather Also reminded me to do a few bumps. I had this one in my head to fix for a while but didnt get around to it, so thanks for your report and help here.