If I try to install a WIndows program with Wine, should I su to root before doing so?
On Apr 4, 2005 7:57 PM, Robert Yu <bobbyyu3@gmail.com> wrote:> If I try to install a WIndows program with Wine, should I su to root > before doing so?Usually your local wine c:\ directory is /home/username/.wine/drive_c so you shouldn't need superuser privileges to install a windows application. -- James Hawkins
Le Mon, 04 Apr 2005 20:57:47 -0400, Robert Yu a ?crit :> If I try to install a WIndows program with Wine, should I su to root > before doing so?No. See windows programs as plugins for wine . They are installed in the home directory of the user used to install them (thus if you want to install program as the root user they will be availbale only to the root user). Windows program are not "root" aware so becoming root cannot help them working any better (c: is a directory in your user home, so your are already "root" in the windows meaning in your wine environment). Security wise using wine as root is giving your windows program the capabilities to break your system ... as on windows itself. Greetings Alban
On Apr 5, 2005 9:05 AM, Robert Yu <bobbyyu3@gmail.com> wrote:> Thanks for the answer, James.No problem, but make sure to cc wine-users so that everyone can learn from each other.> 1. What if I want the program to be available for all users? Can I su > as root then? Or do I need to have the program installed for ever user > in the list?I've never had to use this scenario since I'm a single user, but I would have to guess that each user would have to have the program installed in their local wine drive_c.> 2. If the C:\ directory is indeed in /home/username/.wine/drive_c, can > I look anywhere in /home/username while I'm in a Windows program or > should I put the file in /home/username/.wine/drive_c if I can to > view/use it?In .wine/dosdevices there are symbolic links that point to virtual "devices" for wine. Z:\ usually maps to the root director /, so if you want to access anything outside of C:\ you can use Z:\. Generally you should use .wine/drive_c with windows programs though so you don't have to look through the unix file system for a file. -- James Hawkins