Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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 want to set up a "global" wine directory, so both me and my girlfriend can play games on each others' accounts. Right now, I have wine set up so it can run in my account, but she has to log out and log into my account each time she wants to play a game which is far from ideal.
So, what I did was set up a "global" homeuser group for all user accounts on the system. Then, I moved my ~/.wine folder to /home/wine, and did chown :homeuser /home -R
Then I made a symlink to the /home/wine directory at ~/.wine and did the same for my GF's home directory. It works fine in my account, BUT if I change to my GF's account, I try to run wine and it says
"/home/xxxx/.wine not owned by you"
The directory permissions are 755 so I SHOULD be able to run wine to my knowledge.
I have no idea whether this will work and no way easily to test it, but I was reading about permissions and the book mentioned the setuid bit. Perhaps setting that would work.
I don't think this will work as I want it to - I want the permissions to the shared folder at 755 so other users on my system don't mess up the shared wine directory. Using setuid, this would allow other users full write access to the directory when executing "wine *.exe". This isn't too big of a deal ATM - the most important thing is to get the solution to work (which after looking at the docs for setuid it should work).
Thank you for the help. What I will probably end up doing, is just re-compiling wine from source - I'm sure there are configure flags for this. If not, source diving is always fun.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.