Not allowed to play kjezz game on non-root user's account
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.
Not allowed to play kjezz game on non-root user's account
I can play Jezzball (/usr/bin/kjezz) if I am loggod on as root, however, cannot play the game if logged on as ronsan (my wife's account).
If logged on as ronsan and using X, I type /usr/bin/kjezz, I see **Fatal error (exiting) ** /tmp/mcop-ronsan is not owned by user
When I look at the permissions for this file I find:
1.) This is a locked directory
2.) User is "500"
3.) Group is ronsan
Questions:
1.) Who the heck is this user 500?
2.) How do I fix this?
3.) How do I unlock this directory?
It sounds like some temporary files left over. I'd just login as root and erase them.
User 500 will be a user with the UID 500, however its probably group 500 by the sounds of it unless user ronsan is in a group all of their own! If something creates a file that is owned by a UID that doesn't have an entry in /etc/passwd then just the numberical user ID (UID) will be shown, as there isn't a name to be shown. You often see this if you get a tar off of someone that restores the file owners and permissions.
As root isn't effected by file permissions the program will work fine, and as as ronsan owns the file she'll be fine running the program too. If the program died suddenly some time in the past then it wouldn't of had a chance to clean up its temp files.
I renamed /tmp/mcop-ronsan, but am getting error message
There are two of these files, one for root (.tmp/mcop-root) and one for ronsan (/tmp/mcop-ronsan). I renamed both files, then kicked of jezzball as root...success.
Then I exited/logged back on as ronsan. In X, I typed /usr/bin/kjezz and got the following: Warning: Unix Connect, cannot connect to server (unix: /tmp/mcop-ronsan/localhost_localdomain-oceac-3b480eb)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.