helpdavfs2 - Support: sr #107725, Reassigned to another tracker...


sr #107725: Reassigned to another tracker [was: check for group membership does not work in any case]

Submitted by:  None
Submitted on:  Tue Jun 21 16:21:19 2011  
Category: NonePriority: 5 - Normal
Severity: 4 - ImportantStatus: Confirmed
Privacy: PublicAssigned to: Werner Baumann <wbaumann>
Originator Email: -unavailable-Open/Closed: Closed
Operating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Sat Jun 25 16:39:19 2011, comment #2:


Please, do not post any new comments to this item.

Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
Sat Jun 25 16:38:26 2011, comment #1:

Thanks for the report and the patch and sorry for the delayed answer (I always intended to answer first thing next day).

Because of portability issues with seteuid I want to reorganize all the code that deals with the persona of the process. When doing this I will follow your advice and use getgroups.

I will move this item to the bug tracker so I will not forgett about it.


Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
Tue Jun 21 16:21:19 2011, original submission:

In my case the davfs2 group is added via

This results in an empty list as getgrent result.

Everything works fine however if getgroups is used instead of getgrent for checking group memberships.

The attached patch is doing exactly this.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by wbaumann (Posted a comment)
  • -unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat Jun 25 16:39:19 2011wbaumannReassign Itemdavfs2, sr #107725=>davfs2, bug #33644
    Sat Jun 25 16:38:26 2011wbaumannStatusNone=>Confirmed
      Assigned toNone=>wbaumann
    Tue Jun 21 16:21:19 2011NoneAttached File-=>Added getgroups.diff, #23546

    Back to the top

    Powered by Savane 3.1-cleanup1