Skip to content

Document how to recover file permissions when checking out from git #75

@wyldckat

Description

@wyldckat

While taking care of the installer for blueCFD-Core 2017-1 (Issue #59), it was spotted a considerable flaw in the executable permissions not being preserved properly.

Technically, in order to recover the correct executable flags, users have to run the following commands:

foam
git config --local core.filemode true
git checkout .

However, it's not that simple when the ACL permissions are not absolute. In other words, if blueCFD-Core is not installed in a folder fully controlled by the user, then this will not work properly, because chmod (or MSys2 itself?) can't do its magic on Windows for setting the (non-)executable flag, which relies on some crazy ACL manipulation. This is why we are not able to make the installer get the job done automatically.

Therefore, we need to document this properly in the wiki page respective to updating a build.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions