FS#25170 - [dmenu] dmenu_path should not find binaries recursively or output socket files
Attached to Project:
Community Packages
Opened by Jun Wu (quark) - Tuesday, 19 July 2011, 11:47 GMT
Last edited by Thomas Dziedzic (tomd123) - Tuesday, 19 July 2011, 13:11 GMT
Opened by Jun Wu (quark) - Tuesday, 19 July 2011, 11:47 GMT
Last edited by Thomas Dziedzic (tomd123) - Tuesday, 19 July 2011, 13:11 GMT
|
Details
Description:
dmenu_path should not find binaries recursively, and should not output socket files. suggest to replace [code] if ! test -f "$CACHE" || find $PATH -type d -newer "$CACHE" | grep -q .; then find $PATH ! -type d \( -perm -1 -o -perm -10 -o -perm -100 \) | sed 's/.*\///' | sort -u > "$CACHE" fi [/code] to [code] if ! test -f "$CACHE" || find $PATH -type d -newer "$CACHE" -maxdepth 1 | grep -q .; then find $PATH -type f -perm /u=x,g=x,o=x -maxdepth 1 > "$CACHE" fi [/code] in /usr/bin/dmenu_path Additional info: dmenu 4.3.1-1 |
This task depends upon
Comment by
Thomas Dziedzic (tomd123) - Tuesday,
19 July 2011, 13:11 GMT
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines#Upstream_or_Arch.3F