ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Archie Cobbs <arc...@dellroad.org>
Subject Re: ivy issue
Date Thu, 15 Jul 2010 22:08:33 GMT
OK, I'm out of ideas. But I'm pretty certain that whatever the problem is,
it has nothing to do with ivy per se.

-Archie

On Thu, Jul 15, 2010 at 5:03 PM, David Wink <david.wink@gmail.com> wrote:

> I agree with you.  However this directory is cleaned by TeamCity before
> each
> run.  The only process calling to ivy is this ant script.
>
> On Thu, Jul 15, 2010 at 4:55 PM, Archie Cobbs <archie@dellroad.org> wrote:
>
> > Then they must have gotten there some other way. In UNIX it's (normally)
> > not
> > possible for a non-root user to create files owned by root.
> >
> > http://en.wikipedia.org/wiki/Filesystem_permissions
> >
> > -Archie
> >
> > On Thu, Jul 15, 2010 at 4:53 PM, David Wink <david.wink@gmail.com>
> wrote:
> >
> > > Ok I checked and the TeamCity agent is being started as the user
> engserv.
> > >  However some of the files being downloaded are still owned by root.
>  No
> > > other user is retrieving files.  Most of the files are owned by engserv
> > but
> > > a few are still owned by root.
> > >
> > > On Thu, Jul 15, 2010 at 3:02 PM, David Wink <david.wink@gmail.com>
> > wrote:
> > >
> > > > Ivy is being called from an ant script run by TeamCity.  I will check
> > to
> > > > see what user the TC agent is started as.
> > > >
> > > >
> > > > On Thu, Jul 15, 2010 at 2:57 PM, Andrew McFague <amcfague@wgen.net>
> > > wrote:
> > > >
> > > >> To reiterate what Archie said, they're not "coming down" as being
> > owned
> > > >> by root; ownership of the file isn't transferred over Ivy.  So if
> > > >> they're being owned by root, it means the Ivy process that is
> > retrieving
> > > >> them is being run as the root user.
> > > >>
> > > >> Can you let us know how ivy is being called?
> > > >>
> > > >> Andrew
> > > >>
> > > >> On 07/15/10 15:49, David Wink wrote:
> > > >> > The problem is that I want them to named as the user I am running
> > as.
> > > >>  The
> > > >> > user is engserv.  Most of the files being downloaded come down
> with
> > > >> engserv
> > > >> > as the owner but some of them are coming down as root.  Is there
a
> > way
> > > >> to
> > > >> > control this?
> > > >> >
> > > >> > On Thu, Jul 15, 2010 at 2:29 PM, Archie Cobbs<archie@dellroad.org
> >
> > > >>  wrote:
> > > >> >
> > > >> >
> > > >> >> Whatever UNIX process is running ivy when it downloads those
> files
> > > must
> > > >> be
> > > >> >> running as root. This causes any files it creates to be owned
by
> > > root.
> > > >> >>
> > > >> >> -Archie
> > > >> >>
> > > >> >> On Thu, Jul 15, 2010 at 2:14 PM, David Wink<david.wink@gmail.com
> >
> > > >>  wrote:
> > > >> >>
> > > >> >>
> > > >> >>> I am trying to get a new build platform up and running.
 However
> > > when
> > > >> I
> > > >> >>>
> > > >> >> run
> > > >> >>
> > > >> >>> my ivy resolve and retrieve.  Some of the files are being
> > downloaded
> > > >> with
> > > >> >>> the owner of root instead of my user.  This causes me
to get
> > > exception
> > > >> >>> occured while writing properties file permission denied
errors.
> > Can
> > > >> >>>
> > > >> >> anyone
> > > >> >>
> > > >> >>> help here?
> > > >> >>>
> > > >> >>>
> > > >> >> --
> > > >> >> Archie L. Cobbs
> > > >> >>
> > > >> >>
> > > >> >
> > > >>
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > Archie L. Cobbs
> >
>



-- 
Archie L. Cobbs

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message