[mythtv-commits] Ticket #7832: Add support to drop permissions if running as root

MythTV mythtv at cvs.mythtv.org
Sun Mar 28 19:40:40 UTC 2010


#7832: Add support to drop permissions if running as root
--------------------------------+-------------------------------------------
 Reporter:  superm1@…           |        Owner:  danielk
     Type:  patch               |       Status:  closed 
 Priority:  minor               |    Milestone:  0.23   
Component:  MythTV - General    |      Version:  head   
 Severity:  medium              |   Resolution:  fixed  
  Mlocked:  0                   |  
--------------------------------+-------------------------------------------
Changes (by mdean):

  * status:  assigned => closed
  * resolution:  => fixed


Comment:

 (In [23835]) Fixes #7832.  Set the supplemental group IDs appropriately
 when changing the process persona for the --user command-line argument to
 mythbackend.

 This change uses a slightly simplified version of Mario's patch on the
 ticket and puts the code that sets the supplemental group IDs after the
 call to setgid() to be slightly more portable (even though none of the
 platforms on which MythTV runs would have had issues with the other
 approach).

 Thanks to Mario L. for the work on the --user command-line argument.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7832#comment:13>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list