Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i've been trying to create a wine prefix that is able to be used by multiple users (i.e outside $HOME/* or /home/$USERNAME/*) so that i don't need to re-install programs for every user and use the extra disk space, however when i try to use winetricks in said prefix it complains that my user does not own the directory (even when i set it so that the user is the sole owner), please advise if this is possible and if not, why not?
i've been trying to create a wine prefix that is able to be used by multiple users (i.e outside $HOME/* or /home/$USERNAME/*) so that i don't need to re-install programs for every user and use the extra disk space, however when i try to use winetricks in said prefix it complains that my user does not own the directory (even when i set it so that the user is the sole owner), please advise if this is possible and if not, why not?
I found, when directing the wine prefix to /tmp/wine, I need to mkdir /tmp/wine before being allowed to do WINEPREFIX=/tmp/wine wine whatever, even though /tmp is world-writable;
@jhuizer the directory in fact already existed and i set the UNIX ownership and permissions to the user that needed access.
This must be something picky with ownerships... I don't really have much experience there;
I tried the following:
Code:
(as root)
addgroup wine
usermod -a -G wine (regular user)
cd /usr/local/
mkdir data
chown root:wine data
chmod 775 data
(as my regular user)
mkdir data/wine
chgrp wine data/wine
WINEPREFIX=/usr/local/data/wine winecfg
The end result still isn't very useful yet - the folder is still owned by me as the user, and 'wine' doesn't appear as group there currently; a recursive chown might help there, but am still not very sure whether this will really allow you to do what you want.
Couldn't get this to work without having a 'data' folder in between, I still got the error '/usr/local/wine is not owned by you'
yea, i did this already too, it seems to be a problem with the winetricks script, might send this through to the devs as a bug report
I didn't use winetricks, just winecfg (a program that comes with wine) - so if you will ask or send a bug report, it might be better to post it for the wine program itself (winetricks is just a bash shell program that in turn calls wine)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.