Issue Details (XML | Word | Printable)

Key: MPSITE-25
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Arnaud Heritier
Reporter: Geoffrey De Smet
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 1.x Site Plugin

site:ftpdeploy should make chmod attribute configurable

Created: 14/Apr/05 04:41 AM   Updated: 22/Oct/05 11:07 PM   Resolved: 22/Oct/05 11:07 PM
Return to search
Component/s: plugin
Affects Version/s: 1.6
Fix Version/s: 1.7

Time Tracking:
Original Estimate: 5 minutes
Original Estimate - 5 minutes
Remaining Estimate: 5 minutes
Remaining Estimate - 5 minutes
Time Spent: Not Specified
Time Spent - Not Specified


 Description  « Hide

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



Geoffrey De Smet added a comment - 14/Apr/05 04:44 AM

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


Geoffrey De Smet added a comment - 14/Apr/05 07:41 AM

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


Arnaud Heritier added a comment - 22/Oct/05 11:07 PM

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