From: Jaap <jwinius@umrk.nl>
To: linux-nfs@vger.kernel.org
Subject: NFSv4 with Kerberos and no_root_squash
Date: Sat, 24 May 2014 16:20:58 +0000 (UTC) [thread overview]
Message-ID: <llqgta$3d3$1@ger.gmane.org> (raw)
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
next reply other threads:[~2014-05-24 16:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-24 16:20 Jaap [this message]
2014-05-27 20:54 ` NFSv4 with Kerberos and no_root_squash J. Bruce Fields
2014-05-27 23:21 ` Jaap
2014-05-28 14:05 ` J. Bruce Fields
2014-05-28 15:07 ` Jaap
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='llqgta$3d3$1@ger.gmane.org' \
--to=jwinius@umrk.nl \
--cc=linux-nfs@vger.kernel.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.