libs/wine/config: Allow root-owned wineprefix

Daniel Horn danielrh at dropbox.com
Sat Apr 5 17:17:01 CDT 2014


On wine configurations where wine is restricted from writing to
$WINEPREFIX, the restriction of users owning their own home is not
possible.


What this patch does is make sure that either the current user or root
owns the wine folder.

This continues to prevent the situation where the user has
accidentally changed to root and ruins their home folder, while still
allowing the case where wine is running as an unprivileged user with a
root-owned wineprefix.

---

 libs/wine/config.c | 3 ++-

 1 file changed, 2 insertions(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Allow-root-owned-wineprefix.patch
Type: application/octet-stream
Size: 1300 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140405/e3f243d2/attachment.obj>


More information about the wine-patches mailing list