LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Not allowed to play kjezz game on non-root user's account (https://www.linuxquestions.org/questions/linux-general-1/not-allowed-to-play-kjezz-game-on-non-root-users-account-4268/)

rdaves@earthlink.net 07-13-2001 04:54 PM

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?

jharris 07-13-2001 04:59 PM

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.

HTH

Jamie..

rdaves@earthlink.net 07-13-2001 06:29 PM

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)

rdaves@earthlink.net 07-13-2001 06:58 PM

Fixed it using the back door
 
I couldn't figure out how to fix this problem, so tried the following:

Using KDE desktop, chose system>manage users

1.) created new user "Ronald"
2.) Deleted user "ronsan"

This fixed the problem. It also fixed another problem, which was that my sound was turned off.

Have no idea what I did, but am moving on.


All times are GMT -5. The time now is 01:16 PM.