[Bug 30647] New: $WINEPREFIX "not owned by you" unnecessarily restrictive
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(a)winehq.org ReportedBy: beryllium(a)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? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30647 beryllium(a)shaddybaddah.name changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.1.44 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30647 beryllium(a)shaddybaddah.name changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |beryllium(a)shaddybaddah.name -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30647 --- Comment #1 from beryllium(a)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". -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30647 --- Comment #2 from Alexandre Julliard <julliard(a)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. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30647 Jerome Leclanche <adys.wh(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |adys.wh(a)gmail.com Ever Confirmed|0 |1 Severity|normal |enhancement --- Comment #3 from Jerome Leclanche <adys.wh(a)gmail.com> 2012-05-11 10:02:21 CDT --- (In reply to comment #2) What about adding a --force option somewhere? Maybe in wineboot? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30647 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dank(a)kegel.com --- Comment #4 from Dan Kegel <dank(a)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. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30647 --- Comment #5 from Austin English <austinenglish(a)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. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=30647 --- Comment #6 from Austin English <austinenglish(a)gmail.com> --- Still present. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=30647 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=17337 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=30647 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=11112 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org