backport fix from changeset:2599
drwxr-xr-x - openwrt