Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use PlexusIoResourceAttributes.UNKNOWN_OCTAL_MODE for unknown file mode #26

Merged
merged 1 commit into from
Apr 10, 2016
Merged

Use PlexusIoResourceAttributes.UNKNOWN_OCTAL_MODE for unknown file mode #26

merged 1 commit into from
Apr 10, 2016

Conversation

plamentotev
Copy link
Member

Plexus IO 2.7.1 introduces new constant to indicate the absence
of information about a resource octal mode (permissions).

Use it instead of hard-coded -1.

Actually AbstractArchiver uses quite a lot hard-coded -1 to indicate absence of explicit file mode, but my understanding is that the others are AbstractArchiver related/specific and not the same as PlexusIoResourceAttributes.UNKNOWN_OCTAL_MODE. For example forcedFileMode set to -1 means that the entry file mode will not be overridden.

Plexus IO 2.7.1 introduces new constant to indicate the absence
of information about a resource octal mode (permissions).

Use it instead of hard-coded -1.
@khmarbaise khmarbaise merged commit 42eb470 into codehaus-plexus:master Apr 10, 2016
@khmarbaise khmarbaise added this to the 3.1.1 milestone Apr 10, 2016
@plamentotev plamentotev deleted the use_unknown_mode_const branch February 16, 2018 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants