Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
makes the Scp wagon to honor the directory mode. follow (posix?) mkdir conventions ("By default, the mode of created directories is 0777 (`a+rwx') minus the bits set in the umask").
It remains the question whether the directory mode string should be shell escaped or if it was already validated before, or we trust the user (the best option!)
M2 pom model doesn't support permission definition (¿yet?) so to test you need to inject some permisions when the Repository is created (i did it at org.apache.maven.artifact.manager.DefaultWagonManager@line 142)