linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* exporting one directory sec=krb5 and another sec=sys?
@ 2013-06-26 12:46 Sven Geggus
  2013-07-02 15:52 ` J. Bruce Fields
  0 siblings, 1 reply; 2+ messages in thread
From: Sven Geggus @ 2013-06-26 12:46 UTC (permalink / raw)
  To: linux-nfs

Hello,

I'm trying to do the following in /etc/exports:

/storage/home *(rw,sec=krb5:krb5i:krb5p,no_subtree_check)
/storage/data4hostx hostx(rw,sec=sys,no_subtree_check)

This does however not seem to work, I always seem to get "mount.nfs4:
Operation not permitted".

If I remove either line everything works fine
(of course in the spezified case only)

What am I doing wrong here?

Sven

-- 
Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety (Benjamin Franklin)

/me is giggls@ircnet, http://sven.gegg.us/ on the Web

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: exporting one directory sec=krb5 and another sec=sys?
  2013-06-26 12:46 exporting one directory sec=krb5 and another sec=sys? Sven Geggus
@ 2013-07-02 15:52 ` J. Bruce Fields
  0 siblings, 0 replies; 2+ messages in thread
From: J. Bruce Fields @ 2013-07-02 15:52 UTC (permalink / raw)
  To: Sven Geggus; +Cc: linux-nfs

On Wed, Jun 26, 2013 at 12:46:18PM +0000, Sven Geggus wrote:
> Hello,
> 
> I'm trying to do the following in /etc/exports:
> 
> /storage/home *(rw,sec=krb5:krb5i:krb5p,no_subtree_check)
> /storage/data4hostx hostx(rw,sec=sys,no_subtree_check)
> 
> This does however not seem to work, I always seem to get "mount.nfs4:
> Operation not permitted".
> 
> If I remove either line everything works fine
> (of course in the spezified case only)
> 
> What am I doing wrong here?

If those two directories are on the same filesystem (not recommended),
you probably need to turn on subtree_check to get that to work.

--b.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-02 15:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-26 12:46 exporting one directory sec=krb5 and another sec=sys? Sven Geggus
2013-07-02 15:52 ` J. Bruce Fields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).