On Wed, Nov 7, 2012 at 1:08 PM, Becker, Pascal-Nicolas
<[email protected]> wrote:
> the dspace.cfg contains the credentials for the database connection. At least 
> the database password is an information that should be protected. As 
> dspace.cfg belongs the user dspace I set the file permissions to 640 and 
> everything works fine. But always when I rebuild dspace with the command 'mvn 
> package' Maven creates a new file dspace.cfg in the target directory that is 
> readable for everybody with an account on the server. Does anybody knows how 
> I can configure Maven to set the permissions as mentioned above?

You could try setting the desired permissions on the
[dspace-source]/dspace/config/dspace.cfg file. This file is filtered
and deployed by ant in the last stage of the building process, so it
might just keep the permissions. Or maybe not (due to filtering), but
it's worth a try.

> Is there any other file except building.properties and dspace.cfg that 
> contains the password for the database connection?

No, this is the only place.


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