http://bugs.winehq.org/show_bug.cgi?id=30647
Bug #: 30647 Summary: $WINEPREFIX "not owned by you" unnecessarily restrictive Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: beryllium@shaddybaddah.name Classification: Unclassified
I am unable to point my WINEPREFIX at a path that is off an ext2 partition, or more specifically, a vboxsf mount.
$ mkdir /vboxsf/HostUser/workarea-linux/wine-1 $ WINEPREFIX=/vboxsf/HostUser/workarea-linux/wine-1/; export WINEPREFIX $ wine winecfg wine: /vboxsf/HostUser/workarea-linux/wine-1 is not owned by you $ ls -ld /vboxsf/HostUser/workarea-linux/wine-1 drwxrwxr-x 1 root sharedfs 0 May 11 22:16 /vboxsf/HostUser/workarea-linux/wine-1 $ id -a uid=20000(shaddy) gid=20000(shaddy) groups=20000(shaddy),27(sudo),10000(sharedfs)
It is true in this case, that I don't own the targetted directory. But you can see that by group permissions, I have full access to that directory. In fact, I created it. It is just not owned by me.
I've read up on this, and I've come to understand that the reason for this setting is because people were "hosing" their ~/.wine when running as root/sudo.
But the solution seems to me like applying "extreme prejudice". Wouldn't it have been more polite to simply test for superuser-like privileges and then disallow.
Even having a "relax, I know what I'm doing" override would make more sense to me.
Any chance of making an improvement in this area?
http://bugs.winehq.org/show_bug.cgi?id=30647
beryllium@shaddybaddah.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.1.44
http://bugs.winehq.org/show_bug.cgi?id=30647
beryllium@shaddybaddah.name changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |beryllium@shaddybaddah.name
http://bugs.winehq.org/show_bug.cgi?id=30647
--- Comment #1 from beryllium@shaddybaddah.name 2012-05-11 09:24:56 CDT --- "I am unable to point my WINEPREFIX at a path that is off an ext2 partition, or more specifically, a vboxsf mount."
that should be "on a vboxsf mount".
http://bugs.winehq.org/show_bug.cgi?id=30647
--- Comment #2 from Alexandre Julliard julliard@winehq.org 2012-05-11 09:43:50 CDT --- The goal is to make sure the same dir can't be used by multiple users, since that's not supported. If you really know what you're doing you can create a prefix under your home with symlinks to the shared folder.
http://bugs.winehq.org/show_bug.cgi?id=30647
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |adys.wh@gmail.com Ever Confirmed|0 |1 Severity|normal |enhancement
--- Comment #3 from Jerome Leclanche adys.wh@gmail.com 2012-05-11 10:02:21 CDT --- (In reply to comment #2) What about adding a --force option somewhere? Maybe in wineboot?
http://bugs.winehq.org/show_bug.cgi?id=30647
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #4 from Dan Kegel dank@kegel.com 2012-05-11 10:48:17 CDT --- Extreme prejudice was called for, believe me. Have you tried Alexandre's symlink suggestion? Should be easy.
http://bugs.winehq.org/show_bug.cgi?id=30647
--- Comment #5 from Austin English austinenglish@gmail.com 2012-05-11 12:33:15 CDT --- (In reply to comment #3)
(In reply to comment #2) What about adding a --force option somewhere? Maybe in wineboot?
Wouldn't work, the check is done on each run, not just on initial prefix creation.
http://bugs.winehq.org/show_bug.cgi?id=30647
--- Comment #6 from Austin English austinenglish@gmail.com --- Still present.
https://bugs.winehq.org/show_bug.cgi?id=30647
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=17337
https://bugs.winehq.org/show_bug.cgi?id=30647
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=11112