[Bug 10324] Running Wine as root should generate warning
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Mar 21 14:24:57 CDT 2008
http://bugs.winehq.org/show_bug.cgi?id=10324
--- Comment #18 from Austin English <austinenglish at gmail.com> 2008-03-21 14:24:57 ---
With a few patches by Alexandre, this is mostly fixed. For example (these are
all in wine 0.9.58):
$ rm -rf ~/.wine
$ sudo ~/wine-git/wine notepad
wine: '/home/austin' is not owned by you, refusing to create a configuration
directory there
$ rm -rf ~/.wine
$ wineprefixcreate
$ sudo ~/wine-git/wine notepad
wine: /home/austin/.wine is not owned by you
and if I login as root (not recommended, obviously, but power users may want to
for some reason).
# wineprefixcreate
/root/.wine updated successfully.
# rm -rf ~/.wine
# wine notepad
wine: creating configuration directory '/root/.wine'...
wine: '/root/.wine' created successfully.
However, there's still one issue:
$ rm -rf ~/.wine
$ sudo ~/wine-git/tools/wineprefixcreate
Could not load Mozilla. HTML rendering will be disabled.
/home/austin/.wine updated successfully.
$ sudo ~/wine-git/wine notepad
Still works fine. Not sure if that was by intention or not (I have the feeling
it wasn't).
--
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.
More information about the wine-bugs
mailing list