[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fuse-devel
Subject:    Re: [fuse-devel] Examples for correct access(2) implementations
From:       Antonio SJ Musumeci <trapexit () spawn ! link>
Date:       2016-01-31 22:11:45
Message-ID: CAB3-ZyQrNpSNpJW8sNwva=eHLp=2ERKgtV+Q-3h0c4G=aVeTyw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Are you looking for the standard definition of the call? You should check
the man pages or better yet the Posix standard.

Otherwise it's entirely up to your filesystems needs.
On Jan 31, 2016 3:11 PM, <con-fuse-d@tuta.io> wrote:

> Good evening,
>
> I am having some trouble implementing the access function in my
> filesystem. The only implementation I found is sshfs_access in the
> libfuse/sshfs repository, but I doubt that it serves as a complete example.
> I don't fully understand why it was implemented that way and I do not
> request any clarification on that issue, but I would really like to get
> some pointers where I should look for more complete implementations.
>
> As far as I know, the result should depend on the fuse_context, e.g. which
> user called the access function. Checking USR and OTH permissions is
> simple, but what about GRP? What is the best way to check whether the user
> is in a certain group? Enumerating all groups of the user each time
> access() is called does not appear to be too efficient.
>
> Are there any reference implementations, whether using fuse or not, which
> you could point me to?
>
> Thank you for this great project, I am looking forward to any help!
> Kind regards
> Stephen
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> --
> fuse-devel mailing list
> To unsubscribe or subscribe, visit
> https://lists.sourceforge.net/lists/listinfo/fuse-devel
>
>

[Attachment #5 (text/html)]

<p dir="ltr">Are you looking for the standard definition of the call? You should \
check the man pages or better yet the Posix standard. </p> <p dir="ltr">Otherwise \
it&#39;s entirely up to your filesystems needs.</p> <div class="gmail_quote">On Jan \
31, 2016 3:11 PM,  &lt;<a href="mailto:con-fuse-d@tuta.io">con-fuse-d@tuta.io</a>&gt; \
wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">  
    
  
  <div>
Good evening,<br><br>I am having some trouble implementing the access function in my \
filesystem. The only implementation I found is sshfs_access in the libfuse/sshfs \
repository, but I doubt that it serves as a complete example. I don&#39;t fully \
understand why it was implemented that way and I do not request any clarification on \
that issue, but I would really like to get some pointers where I should look for more \
complete implementations.<br><br>As far as I know, the result should depend on the \
fuse_context, e.g. which user called the access function. Checking USR and OTH \
permissions is simple, but what about GRP? What is the best way to check whether the \
user is in a certain group? Enumerating all groups of the user each time access() is \
called does not appear to be too efficient.<br><br>Are there any reference \
implementations, whether using fuse or not, which you could point me to?<br><br>Thank \
you for this great project, I am looking forward to any help!<br>Kind \
regards<br>Stephen<br>  </div>

<br>------------------------------------------------------------------------------<br>
 Site24x7 APM Insight: Get Deep Visibility into Application Performance<br>
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month<br>
Monitor end-to-end web transactions and take corrective actions now<br>
Troubleshoot faster and improve end-user experience. Signup Now!<br>
<a href="http://pubads.g.doubleclick.net/gampad/clk?id=267308311&amp;iu=/4140" \
rel="noreferrer" target="_blank">http://pubads.g.doubleclick.net/gampad/clk?id=267308311&amp;iu=/4140</a><br>--<br>
 fuse-devel mailing list<br>
To unsubscribe or subscribe, visit <a \
href="https://lists.sourceforge.net/lists/listinfo/fuse-devel" rel="noreferrer" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/fuse-devel</a><br> \
<br></blockquote></div>



------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140

-- 
fuse-devel mailing list
To unsubscribe or subscribe, visit https://lists.sourceforge.net/lists/listinfo/fuse-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic