BackupPC_Admin C wrapper and apache hell
Richard Shaw <[email protected]> Sun, 19 Mar 2017 17:41:06 -0500
| Newsgroups | gmane.comp.sysutils.backup.backuppc.devel |
|---|---|
| Message-ID | <CAN3TeO2tVwcsg94176yPyOpXNHKHDzsGHoUNu++RUZe4T65kYg@mail.gmail.com> |
>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 because it 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 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ BackupPC-devel mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/