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
When running cpFile in nimscript on an executable binary, permissions are not copied over. This makes the copied binary unusable unless chmod +x is run on it afterwards.
./someBinary1 is not executable, ./someBinary is. Permissions differ: ./someBinary1 does not have executable permissions. chmod +x ./someBinary1 fixes it.
Expected Output
./someBinary1 should have executable permissions, since ./someBinary had them.
Nim Compiler Version 1.4.8 [Linux: amd64]
Compiled at 2021-05-25
Copyright (c) 2006-2021 by Andreas Rumpf
git hash: 44e653a9314e1b8503f0fa4a8a34c3380b26fff3
active boot switches: -d:release
The text was updated successfully, but these errors were encountered:
When running
cpFile
in nimscript on an executable binary, permissions are not copied over. This makes the copied binary unusable unlesschmod +x
is run on it afterwards.Example
test.nims
Current Output
./someBinary1
is not executable,./someBinary
is. Permissions differ:./someBinary1
does not have executable permissions.chmod +x ./someBinary1
fixes it.Expected Output
./someBinary1
should have executable permissions, since./someBinary
had them.The text was updated successfully, but these errors were encountered: