[ https://issues.apache.org/jira/browse/MASSEMBLY-791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17730695#comment-17730695 ]
ASF GitHub Bot commented on MASSEMBLY-791: ------------------------------------------ mabrarov commented on code in PR #148: URL: https://github.com/apache/maven-assembly-plugin/pull/148#discussion_r1223491868 ########## src/main/java/org/apache/maven/plugins/assembly/AssemblerConfigurationSource.java: ########## @@ -223,4 +223,9 @@ public interface AssemblerConfigurationSource { * @return Override group name. */ String getOverrideGroupName(); + + /** + * @return Override umask. + */ + Integer getOverrideUmask(); Review Comment: Sorry, but I failed to understand why do we need to support backward compatibility for this interface. What about `org.apache.maven.plugins.assembly.AssemblerConfigurationSource#getOverrideGroupName` method (which I followed in this pull request)? I was under impression that we need to provide backward compatibility for plugin configuration from POM point of view only - this is the reason `null` value is supported (and means that respective configuration options is not defined). > fileMode not set in dependencySet creating format tar.gz > -------------------------------------------------------- > > Key: MASSEMBLY-791 > URL: https://issues.apache.org/jira/browse/MASSEMBLY-791 > Project: Maven Assembly Plugin > Issue Type: Bug > Components: permissions > Affects Versions: 2.6 > Environment: Linux and Windows > Reporter: Rick Poleshuck > Priority: Major > > The fileMode is ignored within a dependencySet while creating a tar.gz > archive. This works just fine in 2.4. > <dependencySets> > <dependencySet> > <includes> > <include>com.company:dependency-artifact</include> > </includes> > <unpack>true</unpack> > <unpackOptions> > <includes> > <include>*.py</include> > </includes> > </unpackOptions> > <outputDirectory/> > <fileMode>0750</fileMode> > <directoryMode>0750</directoryMode> > </dependencySet> > </dependencySets> > </ -- This message was sent by Atlassian Jira (v8.20.10#820010)