Project

General

Profile

Actions

Bug #1526

closed

games: permission denied

Added by luxh over 15 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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
:/usr/obj/usr/src/sys/GENERIC i386

Thanks,
Max

Actions #1

Updated by josepht over 15 years ago

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
:/usr/obj/usr/src/sys/GENERIC i386

Are you a member of group 'games'?

Joe

Actions #2

Updated by luxh about 15 years ago

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
:/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

Actions #3

Updated by pavalos about 15 years ago

This should be fixed in master and 2.4.1 now.

Actions

Also available in: Atom PDF