Maven 1.x Site Plugin

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

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.6.1
  • Fix Version/s: 1.7
  • Component/s: plugin
  • Labels:
    None
  • Environment:
    HP-UX 11.23
  • Number of attachments :
    0

Description

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

Activity

Hide
Lukas Theussl added a comment -

Duplicate of MPSITE-25

Show
Lukas Theussl added a comment - Duplicate of MPSITE-25
Hide
Lukas Theussl added a comment -

Not duplicate

Show
Lukas Theussl added a comment - Not duplicate

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
1h
Original Estimate - 1 hour
Remaining:
1h
Remaining Estimate - 1 hour
Logged:
Not Specified
Time Spent - Not Specified