Your message dated Fri, 07 Nov 2008 13:47:21 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#480909: fixed in nfs-utils 1:1.1.4-1
has caused the Debian Bug report #480909,
regarding nfs-kernel-server: anonuid seems not to work properly
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
480909: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480909
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: nfs-kernel-server
Version: 1:1.0.10-6+etch.1
Severity: important
I'm trying to setup a shared directory for all guys on my lan.
So I set up the server to export a dir, mapping all users/group to a single
one. This is my server's exports:
>cat /etc/exports
/var/lib/amadego/
192.168.144.0/255.255.255.0(secure,async,rw,all_squash,anonuid=1000,anongid=1000)
Just to be shure:
>cat /var/lib/nfs/etab
/var/lib/amadego
192.168.144.0/255.255.255.0(rw,async,wdelay,hide,nocrossmnt,secure,root_squash,all_squash,subtree_check,secure_locks,acl,mapping=identity,anonuid=1000,anongid=1000)
So the options have been read properly.
Now, on the clients I can mount the directory, and, for every user I can
create files (even if the have different user/group id's).
Problem is: if user A (id=1000) creates a file on the shared
dir, he can read and modify the file; but if user B (id=1001) creates a
file, he can do this but immediately gets a warning:
$ touch amadego/workspace/step4
touch: setting times of `amadego/workspace/step4': Permission denied
So it seems that he can create the file, but not modify it.
This is confirmed by the following command:
$ echo pippo>> amadego/workspace/step4
bash: amadego/workspace/step4: Permission denied
looking at the permissions, I have a little light on the problem:
$ ls -ld amadego/workspace
drwxrwxrwx 8 amadego amadego 456 May 12 19:10 amadego/workspace
So, the user CAN create the file because he is granted to manage the
file by the directory permissions, but cannot change the file contents
because that is ruled by file permissions:
$ ls -ltr amadego/workspace/step4
-rw-r--r-- 1 amadego amadego 0 May 12 19:10 amadego/workspace/step4
My conclusion is: user is seen as belonging to user/group "others", and the
server is ignoring the anonuid/anongid settings.
The strange thing is that, on create, the user is mapped properly, since
the file is created with right user/group.
Thanks, Luca
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages nfs-kernel-server depends on:
ii lib 2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii lib 1.39+1.40-WIP-2006.11.14+dfsg-2etch1 common error description library
ii lib 0.10-4 A mechanism-switch gssapi library
ii lib 1.4.4-7etch5 MIT Kerberos runtime libraries
ii lib 0.18-0 An nfs idmapping library
ii lib 0.14-2etch3 allows secure rpc communication us
ii lib 7.6.dbs-13 Wietse Venema's TCP wrappers libra
ii lsb 3.1-15~bpo.1 Linux Standard Base 3.1 init scrip
ii nfs 1:1.0.10-6+etch.1 NFS support files common to client
ii ucf 2.0020 Update Configuration File: preserv
nfs-kernel-server recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: nfs-utils
Source-Version: 1:1.1.4-1
We believe that the bug you reported is fixed in the latest version of
nfs-utils, which is due to be installed in the Debian FTP archive:
nfs-common_1.1.4-1_i386.deb
to pool/main/n/nfs-utils/nfs-common_1.1.4-1_i386.deb
nfs-kernel-server_1.1.4-1_i386.deb
to pool/main/n/nfs-utils/nfs-kernel-server_1.1.4-1_i386.deb
nfs-utils_1.1.4-1.diff.gz
to pool/main/n/nfs-utils/nfs-utils_1.1.4-1.diff.gz
nfs-utils_1.1.4-1.dsc
to pool/main/n/nfs-utils/nfs-utils_1.1.4-1.dsc
nfs-utils_1.1.4.orig.tar.gz
to pool/main/n/nfs-utils/nfs-utils_1.1.4.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Steinar H. Gunderson <[EMAIL PROTECTED]> (supplier of updated nfs-utils package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Fri, 07 Nov 2008 14:01:19 +0100
Source: nfs-utils
Binary: nfs-kernel-server nfs-common
Architecture: source i386
Version: 1:1.1.4-1
Distribution: unstable
Urgency: low
Maintainer: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
Changed-By: Steinar H. Gunderson <[EMAIL PROTECTED]>
Description:
nfs-common - NFS support files common to client and server
nfs-kernel-server - support for NFS kernel server
Closes: 480909 492970 493059 502122 503643
Changes:
nfs-utils (1:1.1.4-1) unstable; urgency=low
.
* New upstream release. Patch status:
* 01-sm-notify-in-sbin.patch: Refreshed.
* 03-handle-mtab-symlink.patch: Refreshed.
* 05-default-use-old-mount-interface.patch: Removed (see below).
* 07-remove-duplicate-exports-paragraphs.patch: No change.
* 09-492827-cache.c.patch: Integrated by upstream, removed.
* 10-493659-nfs.man.patch: No change.
* Do not sync() in sm-notify if there are no hosts to be notified.
(Closes: #502122)
* Removed 05-default-use-old-mount-interface.patch, ie. revert to the new
text-based mount interface, as this package is not intended for lenny.
Probably reopens several older bugs, but Closes: #480909, #492970.
* Fix abuses of $? in nfs-kernel-server.init (they were already OK in
nfs-common.init, for some reason). (Closes: #503643)
* In /etc/default/nfs-kernel-server.default, add --manage-gids to the default
set of mountd options. (Closes: #493059)
Checksums-Sha1:
77487c33a615ea0ab664c066b903a1fea3216925 1300 nfs-utils_1.1.4-1.dsc
ddf8e33f3650b2793875b71b570626dde2ee9d1d 807842 nfs-utils_1.1.4.orig.tar.gz
f83adba435229a07c32cabb74d2dcae2f42251c6 34562 nfs-utils_1.1.4-1.diff.gz
8a8edda8584a71f1af2bf629b13e0a944dafb1d9 149930
nfs-kernel-server_1.1.4-1_i386.deb
9cd7bbed5b526b09b26b7104b359d5312ed2b79a 195600 nfs-common_1.1.4-1_i386.deb
Checksums-Sha256:
a2012d1f976ead7b0ad455653e316a9db61fb937a47b55886627f94da2b38146 1300
nfs-utils_1.1.4-1.dsc
fe915f59b48771e5c9250cd460b7e108a8fe83adab6190ada6f02cff0a6b0c70 807842
nfs-utils_1.1.4.orig.tar.gz
20c8746f1616e7d064d9ae4ea0f327e161d1a270bca8624e6aec16fc55a72e77 34562
nfs-utils_1.1.4-1.diff.gz
1c8e711825d4c8dd4e92c88bf7c58f0ec9b193a52a97f7ef5c28477e246276f3 149930
nfs-kernel-server_1.1.4-1_i386.deb
e09d2923b621a986a54e95d49cb49ae9aad6606e2f4ecc41109c23b006c449d1 195600
nfs-common_1.1.4-1_i386.deb
Files:
931d03a68e7e4c741b66345e55623dfe 1300 net standard nfs-utils_1.1.4-1.dsc
51722ec3867eb408fb371e8a0a63c7b6 807842 net standard
nfs-utils_1.1.4.orig.tar.gz
485a3a96c01b545776727c7ca2fd46d5 34562 net standard nfs-utils_1.1.4-1.diff.gz
abe6a57cad4189371266a5790b16084e 149930 net optional
nfs-kernel-server_1.1.4-1_i386.deb
4b5c69907f8067eb918e74889443d602 195600 net standard
nfs-common_1.1.4-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFJFENHXKRQ3lK3SH4RAtyAAJ9wLjAjFkRWqC1ev+7l6/A18/OdmQCdE3uU
eX6yFEKU+ioY4xT7iq+gycI=
=OLP2
-----END PGP SIGNATURE-----
--- End Message ---