[Bug 30647] New: $WINEPREFIX "not owned by you" unnecessarily restrictive

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 30647] New: $WINEPREFIX "not owned by you" unnecessarily restrictive

Wine - Bugs mailing list
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: [hidden email]
        ReportedBy: [hidden email]
    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.


Reply | Threaded
Open this post in threaded view
|

[Bug 30647] $WINEPREFIX "not owned by you" unnecessarily restrictive

Wine - Bugs mailing list
http://bugs.winehq.org/show_bug.cgi?id=30647

[hidden email] 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.


Reply | Threaded
Open this post in threaded view
|

[Bug 30647] $WINEPREFIX "not owned by you" unnecessarily restrictive

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
http://bugs.winehq.org/show_bug.cgi?id=30647

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 30647] $WINEPREFIX "not owned by you" unnecessarily restrictive

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
http://bugs.winehq.org/show_bug.cgi?id=30647

--- Comment #1 from [hidden email] 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.


Reply | Threaded
Open this post in threaded view
|

[Bug 30647] $WINEPREFIX "not owned by you" unnecessarily restrictive

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
http://bugs.winehq.org/show_bug.cgi?id=30647

--- Comment #2 from Alexandre Julliard <[hidden email]> 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.


Reply | Threaded
Open this post in threaded view
|

[Bug 30647] $WINEPREFIX "not owned by you" unnecessarily restrictive

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
http://bugs.winehq.org/show_bug.cgi?id=30647

Jerome Leclanche <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |[hidden email]
     Ever Confirmed|0                           |1
           Severity|normal                      |enhancement

--- Comment #3 from Jerome Leclanche <[hidden email]> 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.


Reply | Threaded
Open this post in threaded view
|

[Bug 30647] $WINEPREFIX "not owned by you" unnecessarily restrictive

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
http://bugs.winehq.org/show_bug.cgi?id=30647

Dan Kegel <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #4 from Dan Kegel <[hidden email]> 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.


Reply | Threaded
Open this post in threaded view
|

[Bug 30647] $WINEPREFIX "not owned by you" unnecessarily restrictive

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
http://bugs.winehq.org/show_bug.cgi?id=30647

--- Comment #5 from Austin English <[hidden email]> 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.


Reply | Threaded
Open this post in threaded view
|

[Bug 30647] $WINEPREFIX "not owned by you" unnecessarily restrictive

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
http://bugs.winehq.org/show_bug.cgi?id=30647

--- Comment #6 from Austin English <[hidden email]> ---
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 30647] $WINEPREFIX "not owned by you" unnecessarily restrictive

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=30647

Ken Sharp <[hidden email]> 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.


Reply | Threaded
Open this post in threaded view
|

[Bug 30647] $WINEPREFIX "not owned by you" unnecessarily restrictive

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=30647

Ken Sharp <[hidden email]> 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.