Skip to content
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

Preserve permissions in directory producer #182

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

corecanarias
Copy link

I've starting using the awesome lib for ant a couple of weeks ago. But if I not wrong, the most simple usage is not supported:

I want to preserve the permissions of the files in my directory, and override the user to root as usual in any installed app... I've tried to do this in a easy way but for me was absolutely impossible... I've added some changes to preserve the permissions...

WARNING: requires jdk1.7

…ssions but override the user to root. Seems that is not supported, with this modification the DirectoryProducer will preserve the permissions of files and directories. Requieres jdk1.7
@tcurdt
Copy link
Owner

tcurdt commented Oct 11, 2014

Usually I would create a tgz with the right permissions - and they would be preserved.

@tcurdt
Copy link
Owner

tcurdt commented Oct 11, 2014

This will be supported in jdeb 2.x but I fear 1.x will have to stay java 1.6 compatible.

@tcurdt tcurdt added java7 and removed 2.x labels Dec 15, 2014
@tcurdt tcurdt added this to the 2.0 milestone Dec 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants