Thanks for your quick reply! I was actually just getting to checking out the 1.7-snapshot, as I noticed (in small prints) at the bottom of the site-plugin page: "Doc for 1.7-SNAPSHOT"

Doh... ;)

Thanks again.

Rune




Arnaud HERITIER wrote:
Hi Rune,

  It seems that we fixed several problems about rights in the current
SNAPSHOT.

http://maven.apache.org/maven-1.x/plugins/site/changes-report.html#Release1_7-SNAPSHOT
  Can you try the 1.7-SNAPSHOT to see if it helps?

Arnaud


On 3/10/06, Rune Flobakk <[EMAIL PROTECTED]> wrote:
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]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to