Wine on OLPC

James Hawkins truiken at gmail.com
Fri Apr 11 19:53:46 CDT 2008


On Fri, Apr 11, 2008 at 7:45 PM, Benjamin M. Schwartz
<bmschwar at fas.harvard.edu> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
>  Hash: SHA1
>
>  James Hawkins wrote:
>  | On Fri, Apr 11, 2008 at 6:11 PM, Benjamin M. Schwartz
>  | <bmschwar at fas.harvard.edu> wrote:
>  |> -----BEGIN PGP SIGNED MESSAGE-----
>  |>  Hash: SHA1
>  |>
>  |>  James Hawkins wrote:
>  |>  | On Fri, Apr 11, 2008 at 5:59 PM, Benjamin M. Schwartz
>  |>  |>  Would you consider patches to exchange the uid check for a rwx
> access
>  |>  check?
>  |>  | No, that check was added to keep users from running Wine as root.
>  |>
>  |>  Then why not prevent users from running Wine as root?  This does not
>  |>  prevent that.
>  |>
>  |
>  | It prevents this case:
>  |
>  | $ sudo wine app.exe
>  |
>  | and we've already decided that we're not going to outright prevent
>  | users from running wine as root.  There are certain circumstances
>  | where it's required.
>
>  Then how about a patch that specifically prevents users from running wine
>  as root over a profile that is not owned by root? I am trying to run wine
>  as a non-root user over a profile owned by another non-root user that has
>  been chmod'ed appropriately.
>

Running as root was just a specific example.  The second case isn't
allowed either.

-- 
James Hawkins



More information about the wine-devel mailing list