james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r1148026 - /james/app/trunk/src/assemble/bin.xml
Date Mon, 18 Jul 2011 19:53:53 GMT
Author: norman
Date: Mon Jul 18 19:53:52 2011
New Revision: 1148026

URL: http://svn.apache.org/viewvc?rev=1148026&view=rev
Log:
Set some more sane perms on files. See JAMES-1291. Thanks to Patrick Pyette for the patch!

Modified:
    james/app/trunk/src/assemble/bin.xml

Modified: james/app/trunk/src/assemble/bin.xml
URL: http://svn.apache.org/viewvc/james/app/trunk/src/assemble/bin.xml?rev=1148026&r1=1148025&r2=1148026&view=diff
==============================================================================
--- james/app/trunk/src/assemble/bin.xml (original)
+++ james/app/trunk/src/assemble/bin.xml Mon Jul 18 19:53:52 2011
@@ -28,6 +28,7 @@
   	<!-- include txt files -->
     <fileSet>
       <directory>.</directory>
+      <directoryMode>0755</directoryMode>
       <outputDirectory>/</outputDirectory>
       <includes>
         <include>README*</include>
@@ -37,6 +38,7 @@
     <fileSet>
       <directory>src/main/config/james</directory>
       <outputDirectory>conf</outputDirectory>
+      <directoryMode>0755</directoryMode>
       <!-- set some sane security defaults for config files -->
       <fileMode>0600</fileMode>
     </fileSet>
@@ -45,6 +47,7 @@
      <fileSet>
       <directory>.</directory>
       <outputDirectory>log</outputDirectory>
+      <directoryMode>0755</directoryMode>
       <includes>
         <include>.dummy</include>
       </includes>
@@ -52,17 +55,21 @@
     <fileSet>
       <directory>src/main/app/var</directory>
       <outputDirectory>var</outputDirectory>
+      <directoryMode>0755</directoryMode>
     </fileSet>
 
     <fileSet>
       <directory>src/main/app/lib</directory>
       <outputDirectory>lib</outputDirectory>
+      <directoryMode>0755</directoryMode>
     </fileSet>
     
     <!-- include stuff from appassembler -->
     <fileSet>
       <directory>target/appassembler/lib</directory>
       <outputDirectory>lib</outputDirectory>
+      <directoryMode>0755</directoryMode>
+      <fileMode>0600</fileMode>
       <includes>
         <include>*.jar</include>
       </includes>
@@ -70,7 +77,8 @@
     <fileSet>
       <directory>target/appassembler/bin</directory>
       <outputDirectory>bin</outputDirectory>
-      <fileMode>0755</fileMode>
+      <directoryMode>0755</directoryMode>
+      <fileMode>0644</fileMode>
       <lineEnding>dos</lineEnding>
       <includes>
         <include>*.bat</include>
@@ -79,6 +87,7 @@
     <fileSet>
       <directory>target/appassembler/bin</directory>
       <outputDirectory>bin</outputDirectory>
+      <directoryMode>0755</directoryMode>
       <fileMode>0755</fileMode>
       <lineEnding>unix</lineEnding>
       <includes>
@@ -89,7 +98,8 @@
      <fileSet>
       <directory>src/main/app/bin/</directory>
       <outputDirectory>bin</outputDirectory>
-      <fileMode>0755</fileMode>
+      <directoryMode>0755</directoryMode>
+      <fileMode>0644</fileMode>
       <lineEnding>dos</lineEnding>
       <includes>
         <include>*.bat</include>
@@ -109,16 +119,20 @@
     <fileSet>
       <directory>target/appassembler/jsw/james/lib</directory>
       <outputDirectory>lib</outputDirectory>
+      <directoryMode>0755</directoryMode>
+      <fileMode>0755</fileMode>
     </fileSet>
     <fileSet>
       <directory>target/appassembler/jsw/james/conf</directory>
       <outputDirectory>conf</outputDirectory>
+      <directoryMode>0755</directoryMode>
       <!-- set some sane security defaults for config files -->
       <fileMode>0600</fileMode>
     </fileSet>
     <fileSet>
       <directory>target/appassembler/jsw/james/bin</directory>
       <outputDirectory>bin</outputDirectory>
+      <directoryMode>0755</directoryMode>
       <fileMode>0755</fileMode>
       <includes>
         <include>*.bat</include>
@@ -128,6 +142,7 @@
     <fileSet>
       <directory>target/appassembler/jsw/james/bin</directory>
       <outputDirectory>bin</outputDirectory>
+      <directoryMode>0755</directoryMode>
       <fileMode>0755</fileMode>
     </fileSet>
   </fileSets>
@@ -135,12 +150,14 @@
      <file>
        <source>src/main/licensing/notice-for-binary.txt</source>
        <outputDirectory>/</outputDirectory>
+       <fileMode>0644</fileMode>
        <destName>NOTICE</destName>
        <lineEnding>crlf</lineEnding>
      </file>
      <file>
        <source>src/main/licensing/license-for-binary.txt</source>
        <outputDirectory>/</outputDirectory>
+        <fileMode>0644</fileMode>
        <destName>LICENSE</destName>
        <lineEnding>crlf</lineEnding>
      </file>



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message