ryzom / ryzomcore

Ryzom Core is the open-source project related to the Ryzom game. This community repository is synchronized with the Ryzom Forge repository, based on the Core branch.
https://wiki.ryzom.dev
GNU Affero General Public License v3.0
331 stars 89 forks source link

Patcher try to write in /etc/ryzom/unpack when the default ETC path is set to /etc/ryzom #268

Closed ryzom-pipeline closed 4 years ago

ryzom-pipeline commented 8 years ago

Original report by Erwan GEORGET (Bitbucket: Dremor56, ).


When the client is build using /etc/ryzom for RYZOM_ETC_PREFIX, with WITH_RYZOM_PATCH=ON, the patcher will try to put the downloaded content in /etc/ryzom/unpack. As this folder is owned by root, and the game started by the standard user, the game cannot write there, resulting in an error (error code 37).

We'll probably need to implement a way to write the files to the user home folder, or elevate our privilege with polkit when needed, in order to be able to modify the files when needed.

ryzom-pipeline commented 8 years ago

Original comment by Erwan GEORGET (Bitbucket: Dremor56, ).


typo

ryzom-pipeline commented 8 years ago

Original comment by Erwan GEORGET (Bitbucket: Dremor56, ).


The patcher should have wrote them in /usr/share/ryzom btw, not in /etc/ryzom.