r2modmanPlus icon indicating copy to clipboard operation
r2modmanPlus copied to clipboard

[BUG] - Files in extracted mod zips do not preserve their permissions

Open capitalistspz opened this issue 3 months ago • 0 comments

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:

  1. Go to a profile for a game (in this case: Hollow Knight Silksong) in r2modman
  2. Download a mod which contains files with permissions other than rw-rw-rw-. (in this case: BepInEx Pack Silksong
  3. Open profile directory, and view file permissions for the files (in this case all files are rw-rw-rw- when their zipped versions were rwxr-xr-x)

Expected behavior For file permissions to preserved, or at least preserve the executable bit on files.

capitalistspz avatar Oct 12 '25 17:10 capitalistspz