Re: Permissions in gnome-games



Ross Burton <ross burtonini com> writes:

> Hi,
> 
> When gnome-games installs the executables to disk the permissions are
> ---x--s--x with user:group root:games.
> 
> I can see why the group is 'games' and the suid bit is set (saving of
> high scores), but why does world only have execute access?  Was there a
> good reason for this?
> 
> It makes debugging a PITA, as gdb cannot open the executable.. :(

Wouldn't help that much to make it readable; gdb can't attach to a
setuid application (for obvious reasons)

Just change the permissions before debugging or debug as root.

Regards,
                                        Owen

(No comment on why they aren't readable.)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]