Greetings, I have been writing an ebuild in vain for several hours, an application that should run as a unique user out of cron. Thus, trying to figure out how to get the ebuild to: 1. properly create a user with adduser (/bin/false) 2. get this ebuild to move application files into the home directory 3. install a couple CGI's related to it in the Apache /home/httpd/cgi-bin/ directory. 4. manipulate that user's crontab with some default entries. On all of these actions, I get sandbox access violations. The docs don't cover this, and what I've been able to Google, it seems like it can't be done. Am I missing something? Cheers,
1. do it pkg_postinst or config 2. insinto /home/ newins mylittlebinary binforyou 3. insinto /home/httpd/htdocs doins scripts/*.cgi 4. see #1 did you try reading other ebuilds ? did you try `man 5 ebuild` ?
you might want to grab the manpages here ... http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-src/portage/man/ i've done a lot of updating and such with them since the last portage release
OK, will follow up on that. You can close this out for now (I'm out of time for the week to do much with that ebuild). If by chance I still have problems afterward, I'll file a new bug with an attached ebuild for assistance. Thanks
So they will be a new bug and this is already resolved.