-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ant won't preserve symlinks #31
Comments
Zip archive by design doesn't preserve file system permissions. |
@jan-onderka Thanks for pointing this out, I edited the issue. Although man page of
Because NOE core supports multiple platforms, preserving filesystem permissions is not expected feature from unzip. |
I started to stitch something together using Commons Compress which should support symlinks to see if it can become our replacement for Ant. |
That would be quite interesting, especially if that means we can drop the huge Ant jar we're carrying, which accounts for something like 80% of Noe Core's artifact size. Edit: Also, their license is compatible with ours, so it's a fit imho. The main question is, how will it behave on Windows and Solaris... |
@jan-onderka This is based on what, please? I don't think that is true. We always took advantage of 'native' unzip to unpack tested product with original access rights (on RHEL and Solaris) (for instance, executable permission was lost on scripts when and was used). On Windows, ant was used since there is no (no cygwin) unzip installed. However, windows and access rights is different story. |
When
unzip
is not available on machine, Ant is used to unzip a file. This method however won't preserve symlinksand filesystem permissionswhich is crucial for httpd for example. Ant has to be either:unzip
has to be listed as a dependency for noe-coreThe text was updated successfully, but these errors were encountered: