You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2012/02/23 23:24:03 UTC

[jira] (MRESOURCES-132) Copying of files with permissions broken

     [ https://jira.codehaus.org/browse/MRESOURCES-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated MRESOURCES-132:
---------------------------------------

    Description: 
Files with permissions are not copied with the permissions as illustrated below:

{noformat}
root@carlspring:/java/opensource/build-force/zipper-plugin# ls -al `find . -name *perm*`
-rwxr--r-- 1 root root   8 2010-12-09 20:48 ./src/test/resources/zip/file.with.permission.sh*
-rw-r--r-- 1 root root   8 2010-12-09 22:56 ./target/test-classes/zip/file.with.permission.sh
{noformat}

Notice the 'x' permission missing from the copied file.

  was:
Files with permissions are not copied with the permissions as illustrated below:
root@carlspring:/java/opensource/build-force/zipper-plugin# ls -al `find . -name *perm*`
-rwxr--r-- 1 root root   8 2010-12-09 20:48 ./src/test/resources/zip/file.with.permission.sh*
-rw-r--r-- 1 root root   8 2010-12-09 22:56 ./target/test-classes/zip/file.with.permission.sh

Notice the 'x' permission missing from the copied file.

    
> Copying of files with permissions broken
> ----------------------------------------
>
>                 Key: MRESOURCES-132
>                 URL: https://jira.codehaus.org/browse/MRESOURCES-132
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>          Components: copy
>    Affects Versions: 2.4.3
>         Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 22:16:01+0300)
> Java version: 1.6.0_19
> Java home: /java/jdk1.6.0_19/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux" version: "2.6.28.5" arch: "i386" Family: "unix"
>            Reporter: Martin Todorov
>
> Files with permissions are not copied with the permissions as illustrated below:
> {noformat}
> root@carlspring:/java/opensource/build-force/zipper-plugin# ls -al `find . -name *perm*`
> -rwxr--r-- 1 root root   8 2010-12-09 20:48 ./src/test/resources/zip/file.with.permission.sh*
> -rw-r--r-- 1 root root   8 2010-12-09 22:56 ./target/test-classes/zip/file.with.permission.sh
> {noformat}
> Notice the 'x' permission missing from the copied file.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira