games: permission denied

Max Herrgaard herrgaard at gmail.com
Wed Sep 23 08:10:57 PDT 2009


Joe Talbott skrev:
On Tue, Sep 22, 2009 at 09:01:20PM +0200, Max Herrgaard wrote:
Hi,

This happens if I try to play a game:

[zoidberg:~]> bs
dm: /usr/games/hide/bs: Permission denied
[zoidberg:~]> ktrace -id bs
dm: /usr/games/hide/bs: Permission denied
[zoidberg:~]> kdump
 7177 ktrace   RET   ktrace 0
 7177 ktrace   CALL  execve(0xbfbfefe8,0xbfbff55c,0xbfbff564)
 7177 ktrace   NAMI  "/sbin/bs"
 7177 ktrace   RET   execve -1 errno 2 No such file or directory
 7177 ktrace   CALL  execve(0xbfbfefe8,0xbfbff55c,0xbfbff564)
 7177 ktrace   NAMI  "/bin/bs"
 7177 ktrace   RET   execve -1 errno 2 No such file or directory
 7177 ktrace   CALL  execve(0xbfbfefe8,0xbfbff55c,0xbfbff564)
 7177 ktrace   NAMI  "/usr/sbin/bs"
 7177 ktrace   RET   execve -1 errno 2 No such file or directory
 7177 ktrace   CALL  execve(0xbfbfefe8,0xbfbff55c,0xbfbff564)
 7177 ktrace   NAMI  "/usr/bin/bs"
 7177 ktrace   RET   execve -1 errno 2 No such file or directory
 7177 ktrace   CALL  execve(0xbfbfefe8,0xbfbff55c,0xbfbff564)
 7177 ktrace   NAMI  "/usr/games/bs"
 7177 ktrace   NAMI  "/usr/libexec/ld-elf.so.2"
[zoidberg:~]>
If i try as root ('sudo bs') it works. My box is pretty recent master:
[zoidberg:~]> uname -a
DragonFly zoidberg.mnh.nu 2.5.0-DEVELOPMENT DragonFly  
v2.5.0.55.gd9dd0-DEVELOPMENT #19: Tue Sep 22 13:59:39 CEST 2009  
root at zoidberg.mnh.nu:/usr/obj/usr/src/sys/GENERIC  i386
Are you a member of group 'games'?

Joe
No, I'm not. And if I recall correctly, I've never been. The games 
worked anyway :-)

Just wondering if this is some new behavior that I missed, or something 
that slipped in (devfs?). Unfortunately I have no cds or usb sticks to 
try boot old releases with.

Max





More information about the Bugs mailing list