games: permission denied

Joe Talbott josepht at cstone.net
Tue Sep 22 15:56:51 PDT 2009


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





More information about the Bugs mailing list