Hi Petr,

instead of meddling with the file permissions (which might cause
unwanted side effects for .so's that *are* supposed to be executable)
I'd suggest to simply skip *.so files by name.

Something along the lines of:

case "$BIN" in
  *.so|*.so.[0-9]*) : ;;
  *)
    [ -n "$LDD" ] && [ -x "$BIN" ] && file "$BIN" | grep -sqE
"ELF.*(executable|interpreter)" && {
      ...
    }
  ;;
esac

~ Jo

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to