#18 supplementary groups are not considered

closed
nobody
None
5
2006-02-07
2005-12-16
Armin Buehler
No

Xfe is only looking for the primary group id to check
for file/directory access. For example:

abuehler@selene: groups
users system webadm
abuehler@selene: ls -ld .
drwxrwx--- 2 abuehler webadm 40 Dec 16 11:17 .

With Xfe I'm unable to change to the directory. The
directory is also shown with the locked icon.

I've replaced the getgid() functions in File.cc and
check the file/directory gid against the result of
getgroups().

See the attached diff

Discussion

  • Armin Buehler
    Armin Buehler
    2005-12-16

    File.cc diff against xfe-0.84

     
    Attachments
  • Roland Baudin
    Roland Baudin
    2006-02-07

    Logged In: YES
    user_id=629537

    OK, it has been fixed in version 0.88.
    Thanks for the patch!
    RB

     
  • Roland Baudin
    Roland Baudin
    2006-02-07

    • status: open --> closed