I'm trying to do something similar to what is described in this Q/A, except I'm using setfacl
.
I have the following in debian/rules
:
...
override_dh_fixperms:
dh_fixperms
setfacl -m u:applicationX:rw /etc/NetworkManager/
The package is built on a Jenkins server. It returns the error:
make[2]: setfacl: Command not found
I was expecting that these commands would be run during the installation process, I know the devices installing the package will have setfacl
. Instead it seems the command is running on the Jenkins server during the build process.
Am I misunderstanding how to do the above? Is there a rule I can have run on the target machine instead?
Also note the file being modified isn't part of my package itself.