Git Product home page Git Product logo

Comments (10)

rndusr avatar rndusr commented on September 15, 2024

from torf.

doronbehar avatar doronbehar commented on September 15, 2024

I'm trying to follow packaging guidelines outlined here.

from torf.

rndusr avatar rndusr commented on September 15, 2024

from torf.

rndusr avatar rndusr commented on September 15, 2024

I'm closing this as it doesn't seem to concern torf.

from torf.

doronbehar avatar doronbehar commented on September 15, 2024

Sorry for the delayed response. Well first of all, as for your last comment I'm talking about the egg-info directory, not the main directory where all the .py files are located.

Besides, I've investigated the subject a little further and I've learned that the setup.py script copies the contents of a directory called torf_cli.egg-info residing in the source directory, probably created during the build process. Since the files in this directory have -rw------ permissions, no matter what the umask is. Therefor, copying these files as they are to the appropriate location specified with --root when running python setup.py makes them unreadable by non-root users, without umask having any influence.

According to this comment: PyTables/PyTables#488 (comment) perhaps you just need to upload a new version and it will be fixed.

from torf.

rndusr avatar rndusr commented on September 15, 2024

from torf.

doronbehar avatar doronbehar commented on September 15, 2024

Yea, I use the AUR package stig myself as well. I wonder why this is happening, we'll see if it will appear on your next release. In the meanwhile I added chmod -R a+rX ${pkgdir} on python-torf's PKGBUILD.

from torf.

rndusr avatar rndusr commented on September 15, 2024

from torf.

doronbehar avatar doronbehar commented on September 15, 2024

Well first of all the same issue happened to me with torf-cli which this package is it's dependency. Perhaps the difference between my setup and yours is that I use as the source a tar file from https://files.pythonhosted.org/packages/source/. Source tarballs from there include from some reason the torf-1.3.egg-info directory which has the bad permissions.

I've ran the same commands with the tar file from the GitHub release and it works like a charm, without touching umask. Thanks for helping me debug this! I'll update the PKGBUILDs of your AUR packages accordingly.

from torf.

rndusr avatar rndusr commented on September 15, 2024

from torf.

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.