Re: Quota file format [2.3 issue]

Kurt Garloff (K.Garloff@ping.de)
Tue, 13 Apr 1999 21:12:34 +0200


--NzB8fVQJ5HfG6fxh
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 13, 1999 at 02:11:21PM +0100, Riley Williams wrote:
> A related problem occurs with NFS mounts, and I'd be interested to
> know how the following situation is handled:
>=20
> 1. User JohnDoa has user ID 1234 on the system exporting the
> NFS mounted file system, but has user ID 2345 on the system
> it's exported to.
>=20
> 2. Both JohnDoa and the user with user ID 2345 on the exporting
> system have private files on that file system.
>=20
> As far as I can tell, that would result in JohnDoa being able to
> access files belonging to user 2345 on the exporting system, but NOT
> being able to access his own files thereon...

Read man 5 exports.=20

This is an old well-known problme with NFS(v2). It doesn't do uid/gid
translation. That's why you should set a NIS+ Server or ensure manually that
the uids/gids are equal on all NFS shared systems. That's also the reason
for the root_squash option.

On the other hand it tells you about the possibility to use a map_daemon.
There's a rpc.ugidd binary (somehow belonging to the unfsd server) on my
system, but I've never used it, nor do I know somebody doing that.=20

Cheers,
--=20
Dipl.Phys. Kurt Garloff <kurt@garloff.de> [Wuppertal, FRG]
Plasma physics, high perf. computing [Linux-ix86,-axp, DUX]
PGP key: see mailheader / key servers [Linux SCSI driver: DC390]

--NzB8fVQJ5HfG6fxh
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3in

iQCVAwUBNxOXIhaQN/7O/JIVAQHvqQP9EXZpCn8NVd9r4PlkypVJGZGhVrI6dKOo
GU4vc0R/6yTk4f1oEH6shiXsWhaRVvbvScjiS8GY6FdowyBI9fw2iRIWi9iGzvs+
Eoc84s3PvvZ9xkTbjVXSSt2pJoty9UNI4Oj1dtiyH4zhHNIg5oAdK+SVVK2ptC+u
eey0cmqLLV4=
=qUjz
-----END PGP SIGNATURE-----

--NzB8fVQJ5HfG6fxh--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/