Skip to content

Copy pipeasio dll without preserving mode in pipeasio-register#2

Open
30350n wants to merge 1 commit into
M0n7y5:masterfrom
30350n:copy-dll-no-preserve-mode
Open

Copy pipeasio dll without preserving mode in pipeasio-register#2
30350n wants to merge 1 commit into
M0n7y5:masterfrom
30350n:copy-dll-no-preserve-mode

Conversation

@30350n

@30350n 30350n commented Jun 13, 2026

Copy link
Copy Markdown

This is somewhat NixOS specific, but shouldn't cause any issues in general/on other distros.

The problem occurs if the source pipeasio64.dll has read-only permissions set and pipeasio-register gets called multiple times:

cp: cannot create regular file '<...>/.wine/drive_c/windows/system32/pipeasio64.dll': Permission denied

Adding --no-preserve mode to the cp command makes it so that the pipeasio64.dll in the wine prefix inherits its permissions from the parent directory it gets copied too (.../drive_c/windows/system32), instead of the source pipeasio64.dll.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant