Menu

#13 Permissons

closed
nobody
None
5
2012-06-10
2009-07-10
No

After the RPM build process, rpmlint is complaining about the klavaro_helper.

[fab@laptop09 i586]$ rpmlint klavaro*
klavaro.i586: E: setgid-binary /usr/bin/klavaro_helper root 02755
klavaro.i586: E: non-standard-executable-perm /usr/bin/klavaro_helper 02755
2 packages and 0 specfiles checked; 2 errors, 0 warnings.

Can you please fix this and release a new source tarball?

Thanks in advance.

Fabian

Discussion

  • Felipe Castro

    Felipe Castro - 2009-07-11

    Hi,

    In order to "fix" this, I must reorganize the way Klavaro saves the user scores. For now, it uses /var/games/klavaro, so the need for such the helper, set GID with write permissions on that subdir.
    Another way would be use just the user home dir and collect all users whenever needed to update the local ranking. Maybe this will be the way, from next release on, I'll try, ok?

     
  • Felipe Castro

    Felipe Castro - 2009-07-25

    It's not a bug. The program needs to write to /var/games/klavaro, so the most secure way is to use that helper program set as GID "games".

    Anyway, I'm thinking of to get rid of the scoring scheme in /var/games, so in next releases maybe you won't face such problem anylong.

     

Log in to post a comment.