Closed riverscn closed 3 years ago
Since DSM 7.0, root privilege is only allowed for packaged created by Synology. https://help.synology.com/developer-guide/privilege/preface.html
To avoid this limitation, we need to modify conf/privilege
after the timing when the Package Manager checks its value. And privilege escalation is required to modify conf/privilege
because post-process of installation is executed as logon user of DSM.
TIL!
So it seems there is no official configuration for user package which contains a hardware driver.
Yes, you are right.
I read https://help.synology.com/developer-guide/privilege/privilege_config.html and have a question.
Why not write
conf/privilege
file in the repo, instead of spk_su.c during installation process?