Comment 34 for bug 565342

Revision history for this message
In , oiaohm (oiaohm) wrote :

Lets see if we can avoid this hell.

Remember current wine default is admin level user.

Can we enable limited usermode. This means that system hive become read only. Of course user hives remain read write.

Directory layouts as I dream them.
/opt/shared-application/
system.reg
drive_c/
dosdevices/
userdef.reg
user.reg
limited.ver

~/.wine
limited->/opt/shared-application/
dosdevices/
userdef.reg
user.reg
profile/
limited.ver

So drive_c and system.reg are read only to everyone accept admin. limited.ver contains a number that is increased when shared-application is edited.

Key thing here is we don't need a global wineserver to make this work. We don't need to be changing permissions all the time.

We just need a per user wineserver that can cope with the fact that system.reg is read only and drive_c is read only. Due to version tag alterations to read only drive_c could be recorded temp in user profiles and cleared when version increases.

Limited user mode would allow some applications to be run shared. Not all applications expect to write into there application directories and the like.