It seems that e.g. querying the list of installed packages would create a lock file in /var/lib. Generally, that directory is not writeable by others than the owner, which is root. Therefore, a simple user cannot query such information. It would seem logical not to lock the database for such operations. opkg list-installed Collected errors: * opkg_conf_load: Could not create lock file /var/lib/opkg/lock: Permission denied.
lock file should be under /var/run/lock *** This bug has been marked as a duplicate of bug 9348 ***