who are user UID 110 and group GID 116?

I have found in the /home/debian folder and in the /etc tree a couple of files that have a UID of 110 and GID of 116.
Notably /home/debian/.npmrc

/etc/passwd doesn’t contain a user with that UID and /etc/group doesn’t have the GID listed.

Who are they supposed to be?

as root user we install a few packages via "npm install xyz"

https://github.com/RobertCNelson/omap-image-builder/blob/master/target/chroot/beagleboard.org-wheezy.sh#L244

It's one of the worst package systems i've seen, doing random things to all
over the rootfs..

Regards,

I must agree with you that npm is not the ideal packagemanager. :wink:
There also seems to be pip installed for Python packages…

Is there a remote possibility that those packages would ever be offered via apt-get ?

Problem is that even as the root user some things (I forget which) didn’t work off the bat because of those broken ownerships. I ended up chowning them to root:root (for files in /etc/) and debian:debian for files in /home/debian.

I must agree with you that `npm` is not the ideal packagemanager. :wink:
There also seems to be `pip` installed for Python packages...

Is there a remote possibility that those packages would ever be offered
via `apt-get` ?

i wish... cloud9 ide has to be installed via npm, then they broke some of
the npm packaging, so you have install some npm dependices on target,
before you can run the "standalone" package...

Problem is that even as the root user some things (I forget which) didn't
work off the bat because of those broken ownerships. I ended up chowning
them to root:root (for files in `/etc/`) and debian:debian for files in
`/home/debian`.

debian@beaglebone:~$ sudo cat .npmrc
cache = /root/.npm
group = 0
init-module = /root/.npm-init.js
tmp = /root/tmp
user = 0
userconfig = /root/.npmrc

root@beaglebone:~# pwd
/root
root@beaglebone:~# ls -lha ./
total 28K
drwx------ 5 root root 4.0K Dec 6 21:32 .
drwxr-xr-x 21 root root 4.0K Jan 1 2000 ..
-rw-r--r-- 1 root root 570 Jan 31 2010 .bashrc
drwxr-xr-x 9 root root 4.0K Dec 6 21:23 .c9
drwxr-xr-x 3 root root 4.0K Dec 6 21:23 .cache
drwxr-xr-x 3 root root 4.0K Dec 6 21:24 .node-gyp
-rw-r--r-- 1 root root 140 Nov 19 2007 .profile

Well that's broken, so we can drop /home/debian/.npmrc

https://github.com/RobertCNelson/omap-image-builder/commit/5dfed9a2703c4013f9577b2e04f65e18568bd409

:wink:

Regards,

and the rest are mine..

drwxr-xr-x 2 root root 4.0K Dec 6 21:04 bluetooth
-rw-r--r-- 1 polkitd bluetooth 40 Dec 6 21:06 dogtag
-rw-r--r-- 1 polkitd bluetooth 11 Dec 6 23:11 hostname
-rw-r--r-- 1 polkitd bluetooth 213 Dec 6 23:11 hosts
-rw-r--r-- 1 polkitd bluetooth 263 Dec 7 19:05 issue
-rw-r--r-- 1 polkitd bluetooth 175 Dec 6 21:29 issue.net
-rw-r--r-- 1 polkitd bluetooth 86 Dec 6 21:06 rcn-ee.conf

those should all be root:root

Regards,

This should fix the rest, please let me know if you find more:

https://github.com/RobertCNelson/omap-image-builder/commit/586c447e85ffbac762ce4d2b0b3b33434eaf4adf

Regards,

Thanks! Much appreciated.

Yep those are the ones I seem to recall. Changed them to root:root.