Hi!
I wondered if anybody could provide some assistance with getting Maven1
to setup up correct privileges on a site remotely deployed using ssh
(plink and pscp).
I am trying to use the maven.site.chmod.mode property to set up the
privileges, but it seems no matter how I define it, the resulting
privileges are rw-rw--- for files and rwxrwx--- for dirs. I want to make
the site readable to everybody, and therefore specified this in
project.properties:
maven.site.chmod.mode=u+rwX,go+rX-w
I also tried to set a numeric mode to see if it worked. It didn't (not
optimal since every file gets executable bit, but usable):
maven.site.chmod.mode=644
I've also tried to specify maven.site.chmod.options=-R (as opposed to
the default -Rf) to maybe display error messages, but nothing. I assume
the setting of privileges is supposed to happen after the tar has
been extracted on the remote system, but the only message I get from
Maven before BUILD SUCCESSFUL is [delete] Deleting: XYZ--site.tar.gz
Can anyone shed some light on this matter? Are the maven.site.chmod.mode
and maven.site.chmod.options properties being read at all?
I am using v1.6.1 of the maven-site-plugin.
Thanks & cheers :)
Rune Flobakk
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]