You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To avoid copy&paste and other hacks, we should create a clean solution:
Add new method makeExecutable(Path) to FileAccess
Implement that in FileAccessImpl so that it behaves like chmod a+x on the given file.
If the given Path does not exist, the method should fail.
On Windows it should behave like chmod a+x «file» in git-bash (do nothing) but on all other OS it should add the executable flags (without modifying other file attributes).
The text was updated successfully, but these errors were encountered:
In several PRs we have already discussed about making a file executable (see resolved review comments):
To avoid copy&paste and other hacks, we should create a clean solution:
makeExecutable(Path)
toFileAccess
FileAccessImpl
so that it behaves likechmod a+x
on the given file.Path
does not exist, the method should fail.chmod a+x «file»
in git-bash (do nothing) but on all other OS it should add the executable flags (without modifying other file attributes).The text was updated successfully, but these errors were encountered: