wine-origin-updater
wine-origin-updater copied to clipboard
Permissions issues in prefix
Hello,
It seems that I do not have the necessary permissions to copy the contents of the unzipped .exe within the prefix, while being the proper owner/group of the files of the prefix content.
I get this error for every file:
error: cannot create /data/SteamLibrary/steamapps/compatdata/1172380/drive_c/Program Files (x86)/Origin/winhttp.dll
I run the script this way, after having added execution flag to the script:
WINEPREFIX=/data/SteamLibrary/steamapps/compatdata/1172380 ./updateorigin.sh
Longer version of the beginning of the standard output of the command:
$WINEPREFIX=/data/SteamLibrary/steamapps/compatdata/1172380 ./updateorigin.sh
Found a 64bit installation of Origin, going to use this:
=> /data/SteamLibrary/steamapps/compatdata/1172380/drive_c/Program Files (x86)/Origin
Downloading latest Origin setup file:
--2019-11-17 18:35:37-- https://download.dm.origin.com/origin/live/OriginSetup.exe
Resolving download.dm.origin.com (download.dm.origin.com)... 104.80.21.112
Connecting to download.dm.origin.com (download.dm.origin.com)|104.80.21.112|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 239775064 (229M) [binary/octet-stream]
Saving to: ‘OriginSetup.exe’
OriginSetup.exe 100%[=====================================>] 228.67M 68.5MB/s in 3.5s
2019-11-17 18:35:40 (66.0 MB/s) - ‘OriginSetup.exe’ saved [239775064/239775064]
Extracting the installation file:
Archive: OriginSetup.exe
warning [OriginSetup.exe]: 646144 extra bytes at beginning or within zipfile
(attempting to process anyway)
inflating: update/OriginUpdate_10_5_55_33574.zip
Archive: ./update/OriginUpdate_10_5_55_33574.zip
checkdir error: cannot create /data/SteamLibrary/steamapps/compatdata/1172380/drive_c/Program Files (x86)/Origin/audio
Permission denied
unable to process audio/qtaudio_windows.dll.
I am sure that I am missing something (might be very silly) but I do not see it.
Sorry for not getting to this sooner, college has kept me busy. Can you try running the script outside of a Proton prefix? It is possible Steam sets permissions of files a certain way that prevents the script from working.