Giter VIP home page Giter VIP logo

Comments (8)

polterguy avatar polterguy commented on June 12, 2024

Thx mate, I thought ZIP files didn't include folder permissions? Am I missing something here ...?

from magic.

j2l avatar j2l commented on June 12, 2024

I guess they are but I have no idea how to set them up, sorry.

You're in Cyprus? Καλημέρα! Or are you in the Turkish part?

from magic.

polterguy avatar polterguy commented on June 12, 2024

Kali mera mate ^_^

Nope, in Limassol :)

However, my Greek is roughly 50 words ...

from magic.

polterguy avatar polterguy commented on June 12, 2024

As to ZIP files, I suspect you'll get the correct folder permissions if you download the GZ/TAR version instead. Try it, if not I'll do some more investigation ...

from magic.

j2l avatar j2l commented on June 12, 2024

When I click on download it's only zip
image

from magic.

polterguy avatar polterguy commented on June 12, 2024

Ahh, GET it! Yes, we don't have GZ/TAR support in the core, and I am 99% certain of that ZIP doesn't allow for providing file permissions, so it'll end up downloading "in the context of your user" or something on Linux. I don't think this is a problem we can (easily) fix ... :/

Unless you want to have a go at it ofc ...

I'll close this one, as a "no go" unless you've got a suggestion to a solution ...

from magic.

j2l avatar j2l commented on June 12, 2024

I agree it's not big deal, just annoying.

You use JSZIP right?
https://stuk.github.io/jszip/documentation/api_jszip/file_data.html
In there, see unixPermissions

When not set, a default value will be generated:
0100664 or 040775 for UNIX

from magic.

polterguy avatar polterguy commented on June 12, 2024

No JZip here. It's deeply hidden with magic.lambda.io project. I can't remember which lib we're using. We used to use CSharpZip I think, but swapped because of weird Window incompatibilities (windows doesn't support the ZIP standard ...)

from magic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.