https://bugzilla.novell.com/show_bug.cgi?id=786745 https://bugzilla.novell.com/show_bug.cgi?id=786745#c0 Summary: gnuchess only runs when logged in as root Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: foolishewe@hotmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0 There appears to be some permissions or other issues with the gnuchess install, it aborts with the message: book_open(): can't open file "/usr/share/gnuchess/book.bin": Permission denied Reproducible: Always Steps to Reproduce: 1.log in as a user (not root) 2.start gnuchess (or something like xboard which has a gnuchess client) 3. Actual Results: gnuchess GNU Chess 6.0.1 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. book_open(): can't open file "/usr/share/gnuchess/book.bin": Permission denied However note as root we get a normal startup: sudo gnuchess GNU Chess 6.0.1 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. White (1) : Expected Results: gnu chess runs I think book.bin is the opening book, I'm not sure why gnuchess would need write permission to the opening book if I understand correctly. This may be an upstream problem, perhaps http://forums.freebsd.org/showthread.php?t=25092 is related. However, when I tried their suggested solution, I get no joy, instead I get the following: ls -lad /usr/share/gnuchess/book.bin -rw-r--r-- 1 root root 2885728 Jul 16 06:10 /usr/share/gnuchess/book.bin sudo chmod 644 /usr/share/gnuchess/book.bin gnuchess GNU Chess 6.0.1 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. book_open(): can't open file "/usr/share/gnuchess/book.bin": Permission denied -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.