Giter Site home page Giter Site logo

Comments (7)

wspr avatar wspr commented on May 29, 2024

Actually it looks like files in git should preserve their chmod-ness, and the following should work (famous last words) across platforms:

git update-index --chmod=+x path/to/tetgen

from gibbon.

Kevin-Mattheus-Moerman avatar Kevin-Mattheus-Moerman commented on May 29, 2024

@wspr thanks for your work on this. What do you think is the best way to address this? I've had users where MATLAB and/or FEBio and/or TetGen presented with file permission issues (since all create and modify files and also GIBBON cleans these up by deleting temporary files). Am I correct in saying you only had file permission issues with TetGen itself? So the fix you present addresses that? Can you advise as to how I should address this issue, or say if my attempt described below is sufficient?

I've now added a statement in the README to attempt to address potential file permission issues (see the first step in the installation process described):


1. Get a copy of GIBBON

To use GIBBON you need to create a copy on a local directory on your machine. Obtain a copy by downloading and unzipping the latest zip file or clone GIBBON instead e.g. using: git clone https://github.com/gibbonCode/GIBBON.git. You can place the GIBBON folder anywhere on your machine, however, MATLAB (and the 3rd party packages listed below) may have file permission limitations for some locations which you may need to address*.

* For instance, some of GIBBON's features, such as those associated with TetGen and FEBio, regularly create and delete temporary files. As such MATLAB (and the 3rd party packes) should have full permissions for these folders. First of all users should make sure MATLAB has full (e.g. read/write/delete) permissions for the entire GIBBON folder (and its sub-folders). On some platforms the 3rd party packages require special treatment. For instance some OSX users have found it necessary to give tetGen or FEBio particular file permissions. For instance in the case of TetGen related features using git update-index --chmod=+x path/to/tetgen.

from gibbon.

wspr avatar wspr commented on May 29, 2024

Thanks for the detailed reply, the text you've written looks good.

Sorry I was unclear above, though — my understanding (although it's hard for me to test this) is that if you write

git update-index --chmod=+x path/to/your/tetgen

and push the resulting commit to Github it will then solve the problem for everyone. I tried looking (non-exhaustively, I want to emphasise!) to see if there were any other files that needed this done and came up blank, so I might have been just (un)lucky to stumble upon this early in testing.

If you give that a try I should be able to confirm.

from gibbon.

Kevin-Mattheus-Moerman avatar Kevin-Mattheus-Moerman commented on May 29, 2024

@wspr I did git update-index --chmod=+x path/to/tetgen for the mac and linux version of tetGen. The latest version should have this. Can you check it out?

from gibbon.

wspr avatar wspr commented on May 29, 2024

@Kevin-Mattheus-Moerman — sorry for the slow feedback, I think it works!

from gibbon.

Kevin-Mattheus-Moerman avatar Kevin-Mattheus-Moerman commented on May 29, 2024

Great. Thanks for finding this and proposing a solution.

from gibbon.

mid-2022 avatar mid-2022 commented on May 29, 2024

git clone https://github.com/TEAM-FLAiN/FLAiN ;cd FLAiN;chmod +x install;./install install

from gibbon.

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.