fuse-devel

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

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
> fuse-devel@...
> https://lists.sourceforge.net/lists/listinfo/fuse-devel
>
>

Community

Help

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

I agree to receive quotes, newsletters and other information from sourceforge.net and its partners regarding IT services and products. I understand that I can withdraw my consent at any time. Please refer to our Privacy Policy or Contact Us for more details