On Fri, 28 Jul 2000, Christopher Elkins wrote:

> > > > Anyone know if you can get Ant to preserve
> > > > permissions when rolling tar archives?
> > > >
> > > Ant includes a Chmod taskdef, but AFAIK, there is no way to preserve
> permissons
> > > during a Copydir or Copyfile.
> >
> > I guess I can use a native call to roll the tarball, the
> > perms have to be right.
> >
> It's just the shell scripts you're worried about, right? If so, all you need is
> 
>     <chmod dir="${dist}/bin" perm="ugo+rx" includes="**/*.sh"/>

I want them preserved in the tarball so when it's extracted the
scripts stay executable. When you extract a tarball that has
been created by Ant all the scripts that I made executable
with the <chmod> task are no longer executable.

jvz.

-- 

Jason van Zyl
[EMAIL PROTECTED]



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to