On Wed, Nov 7, 2012 at 1:41 PM, Becker, Pascal-Nicolas
<[email protected]> wrote:
> I already did this and it works fine. 
> [dspace-source]/dspace/config/dspace.cfg and [dspace]/config/dspace.cfg keep 
> the rights. But as Maven always creates 
> [dspace-source]/dspace/target/dspace-<version>-build/config/dspace.cfg as a 
> new file (instead of just making a copy) the permissions on this one will 
> always be reseted when I call mvn package. So three of four files (including 
> build.protperties) have the right permissions. ;)

I see, I suspected that but it was the most straightforward thing to try.

Next thing you could try is adding a chmod line (change the octal
permissions as you need) to the ant build recipe (add the second line
after the first, existing one):

https://github.com/DSpace/DSpace/blob/master/dspace/src/main/config/build.xml#L329

        <copy file="${config}" tofile="config-temp/dspace.cfg"
preservelastmodified="true" />
        <chmod file="config-temp/dspace.cfg" perm="600"/>


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to