yazgoo/fuse_kafka

wrong group when creating file

yazgoo opened this issue · 1 comments

$ sudo ./src/fuse_kafka.py start
$ cd /tmp/fuse-kafka-test
$ touch blix
$ ls -lt blix
-rw-r--r-- 1 yazgoo root      0 mai   22 16:16 blix

I would expect:

$ ls -lt blax
-rw-rw-r-- 1 yazgoo yazgoo 0 mai   22 16:19 blax

setegid()was failing because it was done afterseteuid().