Skip to contentSkip to conversation

exporting one directory sec=krb5 and another sec=sys?

DISCUSSION Sven Geggus 2 participants 2 messages Jun 26, 2013 – Jul 2, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

Signature · 4 lines
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
#1 lore raw
Quoted 7 lines · Sven Geggus

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)

Quoted 7 lines

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.