Maven 1.x Site Plugin

site:ftpdeploy should make chmod attribute configurable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.6
  • Fix Version/s: 1.7
  • Component/s: plugin
  • Labels:
    None
  • Number of attachments :
    0

Description

Files that are ftped to a unix/linux environment are ussally set 640 (rw-r-----) which means they are not readable by others.
The ant ftp target supports a chmod attribute, it would be nice to be able to configure this:

plugin.jelly:

<ftp server="${pom.siteAddress}"
userid="${maven.username}"
password="${maven.password}"
remotedir="${pom.siteDirectory}"
chmod="${maven.site.ftp.chmod}">
...
</ftp>

plugin.properties:

maven.site.ftp.chmod = 644

Activity

Hide
Geoffrey De Smet added a comment -

Without the ability to set the chmod, our website is not visible after a deploy to our users.

Show
Geoffrey De Smet added a comment - Without the ability to set the chmod, our website is not visible after a deploy to our users.
Hide
Geoffrey De Smet added a comment -

it should actually be defaulted to 744 because for asking a list of a directory you apperently need executing rights? strange

Show
Geoffrey De Smet added a comment - it should actually be defaulted to 744 because for asking a list of a directory you apperently need executing rights? strange
Hide
Arnaud Heritier added a comment -

site:ftpdeploy can use maven.site.chmod.mode to make chmod attribute configurable.

Show
Arnaud Heritier added a comment - site:ftpdeploy can use maven.site.chmod.mode to make chmod attribute configurable.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
5m
Original Estimate - 5 minutes
Remaining:
5m
Remaining Estimate - 5 minutes
Logged:
Not Specified
Time Spent - Not Specified