All of lore.kernel.org
 help / color / mirror / Atom feed
From: DENIEL Philippe <philippe.deniel@cea.fr>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] Does LUSTRE supports setfsuid/setfsgid ?
Date: Fri, 02 Mar 2012 13:25:20 +0100	[thread overview]
Message-ID: <4F50BC30.5090602@cea.fr> (raw)

Hi List,

I am the maintener of NFS-Ganesha, a NFS server running in User Space. 
The server has several backends on different filesystems. One of the 
backend is dedicated to LUSTRE, using liblustreapi.a .
The server is generic and I faced the problem to "su" to a user inside a 
thread for backends whose calls have no specific credentials parameter. 
For backends like XFS, GPFS and VFS (they are accessed via the "open by 
handle" feature in kernel > 2.6.39) I can use setfsuid/setfsgid. I works 
pretty well and provides a way to "become" a different user in different 
threads. I plan to use the same kind of logic with LUSTRE.
Here comes my question : does LUSTRE supports setfsuid and setfsgid and 
it behaves a every filesystem accessed by the VFS ?

    Regards

       Philippe

             reply	other threads:[~2012-03-02 12:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-02 12:25 DENIEL Philippe [this message]
2012-03-02 19:28 ` [Lustre-devel] Does LUSTRE supports setfsuid/setfsgid ? Andreas Dilger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F50BC30.5090602@cea.fr \
    --to=philippe.deniel@cea.fr \
    --cc=lustre-devel@lists.lustre.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.