Issue Details (XML | Word | Printable)

Key: MPSITE-31
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Lukas Theussl
Reporter: Davy Toch
Votes: 0
Watchers: 0
Operations

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

Replace hardcoded 'chmod -Rf g+u * .' of goal site:sshdeploy by default property value?

Created: 05/Jul/05 03:59 PM   Updated: 13/Sep/05 06:27 PM   Resolved: 13/Sep/05 06:27 PM
Return to search
Component/s: plugin
Affects Version/s: 1.6.1
Fix Version/s: 1.7

Time Tracking:
Original Estimate: 1 hour
Original Estimate - 1 hour
Remaining Estimate: 1 hour
Remaining Estimate - 1 hour
Time Spent: Not Specified
Time Spent - Not Specified

Environment: HP-UX 11.23


 Description  « Hide

Hi,

In site:sshdeploy, permissions on the generated web site documentation are changed by executing 'chmod -Rf g+u * .' . However, this poses problems for example on HP-UX 11.23, because:

  • the -f option doesn't exist in the command chmod
  • g+u doesn't work (returns error message : 'invalid mode'), probably due to a bug in the chmod command on HP-UX. However g=u works instead.

Is it therefore possible to put a property value instead with a default value 'chmod -Rf g+u * .'. This way this command can be overridden for HP-UX (e.g by using 'chmod -R g=u * .').

Regards,
Davy Toch



Lukas Theussl added a comment - 13/Sep/05 06:16 PM

Duplicate of MPSITE-25


Lukas Theussl added a comment - 13/Sep/05 06:26 PM

Not duplicate