PR: MNG-258

make everything executable so that m2 shell script is (plexus-archiver doesn't presently have any greater control)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163823 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-04-07 02:43:56 +00:00
parent 70a510917c
commit 664a916c17
1 changed files with 4 additions and 0 deletions

View File

@ -233,6 +233,10 @@ public class AssemblyMojo
} }
tarArchiver.setCompression( tarCompressionMethod ); tarArchiver.setCompression( tarCompressionMethod );
} }
// TODO: should be able to do this on a file/dir basis
tarArchiver.getOptions().setDirMode( "0700" );
tarArchiver.getOptions().setMode( "0700" );
} }
else if ( format.startsWith( "zip" ) ) else if ( format.startsWith( "zip" ) )
{ {