Gradle

  • 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)
To raise new issues or bugs against Gradle, please use forums.gradle.org.
  • Gradle
  • GRADLE-971

fileMode not working for the copy task

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Resolution: Fixed
  • Affects Version/s: 0.9
  • Fix Version/s: 1.0-rc-1

Description

Copy's fileMode settings has no effect.

Example:
task test << {
copy { from 'foo.txt' into 'newDir' fileMode = 0444 }
}

No matter which value is used (as long as it is an integer), the copied file has always the default mode.

Activity

  • All
  • Comments
  • History
  • Activity
  • TeamCity
  • Commits
  • Source
  • Reviews
No commits found.

People

  • Assignee:
    Unassigned
    Reporter:
    Marc Guillemot
Vote (11)
Watch (10)

Dates

  • Created:
    10/Jun/10 6:35 AM
    Updated:
    04/Jan/13 5:09 AM
    Resolved:
    16/Mar/12 3:12 AM
  • Atlassian JIRA (v5.0.3#729-sha1:bf569e4)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Gradle. Try JIRA - bug tracking software for your team.