On 10/7/2011 11:05 PM, D'Ausilio, John wrote:
> So .. I have my contain body set up with gid/uid and using the shell. Is
> that shell running as the user specified in exec_user? What's the
> environment when my command executes? I seem to be getting inconsistent
> results .. for instance sometimes paths anchored with ~ do what I
> expect, other times not ..

I'm sure there's info in the reference guide on it, but
consider:

Temporarily change the command to something spits out your
environment (env) to a file.  Examine the contents.  Examine
the owner of the file to see who the command ran as.
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to