jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Plexus Components
  • Plexus Components
  • PLXCOMP-164

Dollar sing handling

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: plexus-archiver
  • Labels:
    None
  • Environment:
    Linux
  • Number of attachments :
    1

Description

I'm trying to unpack tar.gz artifact like this:

mvn org.apache.maven.plugins:maven-dependency-plugin:2.1:get -DrepoUrl=<repoUrl> -Dartifact=<groupId>:<artifactId>:<version> -Dpackaging=tar.gz

There are files inside this artifact that have dollar sign in their names.

When it comes to settings permissions, maven fails with:

[WARNING] -------------------------------
[WARNING] Standard error:
[WARNING] -------------------------------
[WARNING]
[WARNING] -------------------------------
[WARNING] Standard output:
[WARNING] -------------------------------
[WARNING] chmod: cannot access `/path/to/target/dependency/TheClass.class': No such file or directory

The real name of file in question is TheClass$1.class

I suspect that the problem may be due to lack of escaping in org.codehaus.plexus.archiver.util.ArchiveEntryUtils.chmod()

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. File
    PLXCOMP-164.sh
    20/Nov/10 2:24 AM
    1 kB
    Ilya Leoshkevich

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
No work has yet been logged on this issue.

People

  • Assignee:
    Unassigned
    Reporter:
    Ilya Leoshkevich
Vote (1)
Watch (1)

Dates

  • Created:
    17/Nov/10 11:50 AM
    Updated:
    04/Jan/12 5:32 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.