I want a node application to have the ability to bind to low number ports (443 to be precise, since its an http2 server).
I do this with sudo setcap cap_net_bind_service=+ep /path/to/node
This is apparently remembered over a boot. I am using nvm to allow me to have different versions of node installed, and I have just upgraded the version and of course I no longer bind.
It is easy enough to add the capability again, but presumably somewhere I am accumulating permissions which I ought to switch off on older versions of node.
But I can't find out where in the boot sequence this happens. Can someone tell me where (I am running Debian).
EDIT
I think the info should be stored within the extra attributes of the executable. However, I can't find any extra attributes on the files I have set up this way.