There was a change in 1.2.0 which changed how the fetcher would chown the sandbox: https://issues.apache.org/jira/browse/MESOS-5218
Prior to 1.2, when the fetcher ran, it would recursively chown the entire sandbox to the given user. This was incorrect behavior, since the Mesos agent will create the sandbox under the same user (but might put some root files in the non-root sandbox). Can you check your agent logs and paste the fetcher's error here? On Wed, Apr 26, 2017 at 9:06 AM, De Groot (CTR), Craig < craig.degroot....@usgs.gov> wrote: > We recently upgraded from Mesos 1.1.0 to 1.2.0 and are encountering errors > with code that previously worked in 1.1.0. I believe that this is a bug in > the new version. If not, I would like to know the correct procedure for > using the sandbox as a user other than root. > > Here is the scenario: > 1) Setup a job in Marathon which specifies a URI to our private > docker.tar.gz > - See: this for an example ... https://mesosphere.github. > io/marathon/docs/native-docker-private-registry.html > - This is a local file on each node > > 2) Specify a User (other than root) in the Marathon UI > > 3) Mesos will try to fetch the file and fails during the copy because the > ownership of the sandbox directory are not changed to the specified user. > - Note that 1.1.0 correctly set the sandbox directory to the specified > user > - This behavior is documented in the Mesos Docs here (see "specifying a > user name"): http://mesos.apache.org/documentation/latest/fetcher/ > > Thanks in advance for the help! > > __________________________________________________ > Craig De Groot > > >