linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* NFSv4 with Kerberos and no_root_squash
@ 2014-05-24 16:20 Jaap
  2014-05-27 20:54 ` J. Bruce Fields
  0 siblings, 1 reply; 5+ messages in thread
From: Jaap @ 2014-05-24 16:20 UTC (permalink / raw)
  To: linux-nfs

Hi folks,

Not long ago I managed to get NFSv4 to work together with Kerberos (gss/
krb5i or gss/krb5p), but apparently there's a limitation. It has to do 
with exports that include the "no_root_squash" option and then attempting 
to allow root on the clients to write to them; this always results in a 
"Permission denied" error.

Is there a solution for this, or a workaround?

For me this is important, because one of the sites I maintain uses NFS 
for home directories and the workstations have an elaborate logout script 
in /etc/X11/Xreset.d/ that runs as root (the script contains many sudo 
commands to make changes to the user's home directories). Therefore, one 
solution would be to avoid running the logout script as root, but AFAIK 
that's not possible.

Thanks,

Jaap


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

end of thread, other threads:[~2014-05-28 15:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-24 16:20 NFSv4 with Kerberos and no_root_squash Jaap
2014-05-27 20:54 ` J. Bruce Fields
2014-05-27 23:21   ` Jaap
2014-05-28 14:05     ` J. Bruce Fields
2014-05-28 15:07       ` Jaap

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).