question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: File Permissions in Resource

See original GitHub issue

I’m extracting the contents of the JARs and need to preserve file permissions (read, write, exec). The info is available via ZipArchiveEntry::getUnixMode but I’d need that info in Resource.

Thanks for this great library!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
lukehutchcommented, Aug 14, 2019

ClassGraph does do resource locating (and jarfile handling in general) much better than any other library, since it works for a huge range of different classloader types, and since it contains its own highly optimized nested unzip implementation. You’re not making use of either yet (since you are defining a custom classloader, and you don’t use nested jars, I think?), but by porting to ClassGraph will give you a lot of flexibility for the future.

https://github.com/classgraph/classgraph/wiki/Classpath-Specification-Mechanisms

1reaction
lukehutchcommented, Aug 14, 2019

Released as 4.8.44. Many thanks for your great contribution, @jamesward!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Requesting access to protected resources - Apple Developer
In addition to asking people for permission to access a resource, in some cases, you also need to separately declare your intent to...
Read more >
feature request: file permission and allowed types #15205
Possible solution for 1st one: Allowed filetypes in settings based on MIME / extensions. All reactions.
Read more >
User without permission to resource can't receive the option to ...
On the Site Settings page, under Users and Permissions, select Site permissions. Select Access Request Settings. Click to select the Allow ...
Read more >
Request app permissions - Android Developers
Resource types. Overview · Animation · Color state list · Drawable · Layout · Menu · String · Style · Font · More...
Read more >
Access Control at subfolder level for Team Folders – Lucidchart
What we need is to allow subfolders to inherit parent folder's permission AND specify its own additional permissions at individual subfolder ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found