2

I’m trying to run a professional health software on WINE, but it fails at some point with the following error message (� = non-rendered accentuated character):

Permissions pour 'Everyone': 1301ff
Aucun droit de contr�le total trouv� pour 'Everyone'.
Contr�le total accord� � Everyone pour le fichier C:\windows/galss.ini

Translation:

Permissions for 'Everyone': 1301ff
No full control right found for 'Everyone'
Full control granted to Everyone on file C:\windows/galss.ini

How can I grant full access to Everyone (bad practice, I know, but I’m not the software’s dev) to that file using WINE?

I’ve tried the WINE file explorer, but it does not give me the option to change the permissions.

Or am I totally off-base, and user permissions is not a thing within WINE?

1
  • See askubuntu.com/questions/892176/… . Also, have you tried using wine to run the app's installer, or have you unpacked the app and used wine app.exe to run it? Sometimes one works better than the other. Note that some apps make Windows-specific calls and just won't run in wine. C'est la vie. Commented 12 hours ago

2 Answers 2

2

File ACLs reported by Wine are a hardcoded translation of the Unix file modes. "Full control" is not reported because this would imply "Take ownership", which Wine has no way to perform (a user cannot 'chown' files). You can patch mode_to_sd() in server/file.c if really necessary.

Wine doesn't do its own security enforcement – apps running under Wine have exactly the same access as native Linux programs (and each user's Wine environment is its own separate "world" that doesn't interact with another user's Wine), so until now it hasn't implemented anything more flexible than that.

1

The best way to run that software might be in a virtual machine (VM).

  • The environment of the VM is fully controllable.
  • It's quite easy to install a VM such as VirtualBox on Linux, though for Windows 11 in particular, you'll need to set flags such as BypassTPMCheck.
  • If the software needs to connect to the outside world, you'll need to configure the VM accordingly.

My small experience with a VM is that it is surprisingly fast, both to boot and to run applications, and that the software behaves as if it were running on the actual OS rather than a VM.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.