|
From: Kevin F. <Kev...@pn...> - 2009-06-23 16:21:36
|
struct fuse_context *fc = fuse_get_context(); fc->uid fc->gid On Tue, 2009-06-23 at 08:37 -0700, Joe Beeton wrote: > Hi > > To fully implement permissions you need to know what the uid/gid of > the user > that requested the read / write / delete etc. > I could get the information from the running fuse process, but this > would > only give me the uid/gid of the user that mounted the filesystem not > the > actual user that tried to access that file. > Am I missing something or does fuse not allow you to get the uid/gid > of the > user that requested the read / write? > > Thanks > > Joe > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge > conference! > Portland, OR, June 17-19. Two days of sessions, one day of > unconference: $250. > Need another reason to go? 24-hour hacker lounge. Register today! > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > _______________________________________________ > fuse-devel mailing list > fus...@li... > https://lists.sourceforge.net/lists/listinfo/fuse-devel > > |