r2modmanPlus
r2modmanPlus copied to clipboard
[BUG] - Files in extracted mod zips do not preserve their permissions
Describe the bug On Linux, downloading a mod from the profile screen, or importing a zip file will extract the file to its profile folder without the permissions it originally had.
Steps to reproduce the behavior:
- Go to a profile for a game (in this case: Hollow Knight Silksong) in r2modman
- Download a mod which contains files with permissions other than
rw-rw-rw-. (in this case: BepInEx Pack Silksong - Open profile directory, and view file permissions for the files (in this case all files are
rw-rw-rw-when their zipped versions wererwxr-xr-x)
Expected behavior For file permissions to preserved, or at least preserve the executable bit on files.