From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel.Thibault@drdc-rddc.gc.ca (Thibault, Daniel) Date: Tue, 19 Nov 2013 16:48:35 +0000 Subject: [lttng-dev] Having Trouble with LTTng folders Message-ID: <48CF5AC71E61DB46B70D0F388054EFFD267A2B39@VAL-E-01.valcartier.drdc-rddc.gc.ca> Date: Tue, 19 Nov 2013 08:43:17 -0500 From: Michael Steppe > I have set up another VM that only has a root account. Using Active Directory, I set up user accounts from my work's development network (giving everyone here at work the ability to sign in with their usernames and passwords), meaning root does not have permissions to edit files owned by these users. Here lies my problem: > > Let's say I sign in to the remote VM as user = "Scott". When I try and attempt to perform the "create" command through my plugin, I get: > > An error was encountered on 10.176.15.180 (10.176.15.180) > Host: 10.176.15.180 > Command: /usr/bin/lttng create TRACE_111913_082211 -o /tmp/TRACE_111913_082211 > Exit Code: 1 > No output stream captured > Error Output: > Error: Unable to create config file > Error: Command error > > I am assuming it is unable to create the config file because all the tracing folders and files are created and owned by root and root does not have access to write to Scott's home directory, where the config file should go. The trace is actually created, but not .lttngrc file is created. > If I perform an 'lttng list" in the remote VM (signed in as Scott), I can see the TRACE__