> -----Original Message-----
> From: helix84
> Sent: Wednesday, November 07, 2012 1:49 PM
> Subject: Re: [Dspace-tech] Changing permissions for dspace.cfg
...
> 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):
Ant copies the file from the target to the [dspace]/config directory and 
preserved the permission of the target file. Your solution could help for a 
fresh_install. I had a problem with Maven always reseting the permissions of  
[dspace-source]/dspace/target/dspace-<version>-build/config/dspace.cfg. It took 
me some time to get into the assembly process of maven, but I found a solution. 
Adding the following line to the maven assembly recipe helps:

https://github.com/DSpace/DSpace/blob/master/dspace/src/main/assembly/assembly.xml#L75
        <source>config/dspace.cfg</source>
         <fileMode>640</fileMode>

Thanks helix for your help!

Regards,
  Pascal
------------------------------------------------------------------------------
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