Richard Shaw
2017-03-19 22:41:06 UTC
From a Fedora packaging perspective we can't do the standard setup because
we don't allow perl scripts to run as suid and can't use mod_perl becauseit requires a separate apache instance so instead we use a simple C wrapper
that can run suid.
The problem is that a compiled binary doesn't belong in /usr/share/...
(although that's where the current package put it) so I have migrated it to
/usr/sbin/BackupPC_Admin.
The problem is that I can't seem to find the magic incantation to make
apache happy with it. I can duplicate the contents of the Directory
directive for /usr/sbin but I don't want to expose that access to
everything in /usr/sbin, just BackupPC_Admin, but when I try any version of
the Files directive it refuses to work saying something to the effect of:
authz_core:error] [pid 32390] [client ::1:37302] AH01630: client denied by
server configuration: /usr/sbin/BackupPC_Admin
Any ideas?
Thanks,
Richard