WrapEarnPass created an issue (geany/geany#4590)

https://geany.org/manual/reference/guidelines.html
States

> Do never install anything into a user's home directory like installing the 
> plugin binary in ~/.config/geany/plugins/. "

However, geany does search this path for plugins for anything the user builds 
locally.

https://github.com/geany/geany/blob/98bcbee3b99d71dfcdd9d3556ace9530ceda818d/HACKING#L765

The symlink acquires the SELinux context of the target, so that works fine, 
but, anyone who copies a file to that directory directly gets a executable in a 
xdg_config_t directory. 

https://specifications.freedesktop.org/basedir/latest/ states this is not 
compliant.

> User-specific executable files may be stored in $HOME/.local/bin. 
> Distributions should ensure this directory shows up in the UNIX $PATH 
> environment variable, at an appropriate place.

I suggest changing the search directory for user defined plugins to the XDG 
standard, which is supported by the default SELinux policy, and systemd-path.
<img width="584" height="34" alt="Image" 
src="https://github.com/user-attachments/assets/9a5feed5-1c31-4218-be28-6e58097c1673";
 />

~/.local/bin/geany/plugins/

The configs can remain, and are valid in the XDG_CONFIG location.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4590
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/[email protected]>

Reply via email to