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

Make extraction safer #2

Merged
merged 1 commit into from
Jul 5, 2016
Merged

Make extraction safer #2

merged 1 commit into from
Jul 5, 2016

Conversation

thommay
Copy link
Contributor

@thommay thommay commented Jul 5, 2016

  • optionally ignore file permissions in the archive
  • optionally ignore certain paths in the archive

@thommay
Copy link
Contributor Author

thommay commented Jul 5, 2016

@lamont-granquist

* Ignore file permissions in the archive
* Ignore certain paths in the archive

Signed-off-by: Thom May <thom@may.lt>
@Tensibai
Copy link

Tensibai commented Jul 5, 2016

Dropping this here as related: would it worth managing owner and group too (in name/numeric fashion as can do tar) or is it out of scope for this library ?

@thommay
Copy link
Contributor Author

thommay commented Jul 5, 2016

I'd certainly be open to taking a PR for that should someone need it - say for doing a tar resource or similar.

@lamont-granquist
Copy link
Contributor

👍

yeah i wondered about owner/group, but i haven't seen the use case for it yet

@thommay thommay merged commit c604f9f into master Jul 5, 2016
@Tensibai
Copy link

Tensibai commented Jul 5, 2016

@lamont-granquist I can't see one out of restoring a backup (which shouldn't be done in ruby IMHO), and so I'm really unsure the feature worth the extra complexity.

I did asked as it sounded obvious to talk about it after this change, but I don't think this library should be a tar clone in ruby.

@lamont-granquist lamont-granquist deleted the ignore_perms_and_files branch July 5, 2016 17:59
@chef chef locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants