I'm currently writing a system deamon in golang and it's running as /usr/bin/rcsm, the problem is that the auto update tries to create /usr/bin/.rcsm.new/usr/bin/.rcsm.old but /usr/bin is not writable by my deamon, but its own binary is. It would be nice if we could avoid doing modifications in the same directory and use /tmp.
Hi there,
I'm currently writing a system deamon in golang and it's running as
/usr/bin/rcsm
, the problem is that the auto update tries to create/usr/bin/.rcsm.new
/usr/bin/.rcsm.old
but/usr/bin
is not writable by my deamon, but its own binary is. It would be nice if we could avoid doing modifications in the same directory and use/tmp
.Thanks!