binaryninja-api
binaryninja-api copied to clipboard
Use Identical Permissions for Files in a Project When Copied and Saved
Version and Platform (required):
- Binary Ninja Version: 5.3.8724-dev Ultimate, a43c703e
- OS: macos
- OS Version: 26.1.0
- CPU Architecture: arm64
Bug Description:
The execute bit is not set by project.create_file() but is set by project.create_file_from_path().
Steps To Reproduce: Use one project method vs the other and look at the resulting icon in the project. One has a executable icon the other has a document icon.
Expected Behavior: Both result in a file with the same permissions (0755).
Screenshots:
Top is save, bottom is copy: