[ 
https://issues.apache.org/jira/browse/IO-678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17576822#comment-17576822
 ] 

Gary D. Gregory commented on IO-678:
------------------------------------

[~J_aka_J] ping?

> FileUtils.copyFile does not maintain file permissions
> -----------------------------------------------------
>
>                 Key: IO-678
>                 URL: https://issues.apache.org/jira/browse/IO-678
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.7
>            Reporter: Jorge
>            Priority: Major
>         Attachments: FileUtilsCopyDirectoryToDirectoryTestCase.java
>
>
> I found that permissions (specifically, execute) are not maintained when 
> using FileUtils.copyFile. The attached test demonstrates the behavior.
>  
> With version 2.6 the following permissions are obtained:
> [OTHERS_READ, OWNER_READ, OWNER_WRITE, GROUP_READ, GROUP_WRITE]
>  
> while with version 2.7:
> [OWNER_READ, OWNER_WRITE]
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to