[jboss-jira] [JBoss JIRA] (WFCORE-2796) CLI - module add - handle symlinks for directories and files

Jean-Francois Denise (JIRA) issues at jboss.org
Thu Jun 1 09:34:01 EDT 2017


     [ https://issues.jboss.org/browse/WFCORE-2796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Francois Denise reopened WFCORE-2796:
------------------------------------------


Cases of recursive symlink not handled.

> CLI - module add - handle symlinks for directories and files
> ------------------------------------------------------------
>
>                 Key: WFCORE-2796
>                 URL: https://issues.jboss.org/browse/WFCORE-2796
>             Project: WildFly Core
>          Issue Type: Enhancement
>          Components: CLI
>            Reporter: Rostislav Svoboda
>            Assignee: Jean-Francois Denise
>             Fix For: 3.0.0.Beta22
>
>
> With WFCORE-2765 changes one can copy directories using CLI operation {{module add}}
> I tried few non-empty directory cases
> a) non-empty directory + subdirectories
> b) non-empty directory + subdirectories + symlink (ln -s) to file (pom.xml -> /home/rsvoboda/tmp/wildfly-core/pom.xml)
> c) non-empty directory + subdirectories + symlink (ln -s) to directory (jdk -> /opt/jdk1.8.0_91)
> a) worked without problem
> b) modules contain file (pom.xml) with copied content of sym-linked file, symlink not preserved
> c) modules contain empty file jdk, content of sym-linked directory is not copied, symlink not preserved
> Symlinks must be also handled, I would prefer to copy all the linked content to be consistent on different machines.
> This can be complex as symlinks to files and directories can be nested in the directories structure. 



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list