NFS problem with 5.1A patchkit 6

From: Nicolas.Courtel@regis-dgac.net
Date: Wed Feb 11 2004 - 06:21:53 EST


Hello managers,

I have a machine A that mounts by NFS a partition from machine B, that's
installed with 5.1A patchkit 6. If I transfer files by tar towards this
NFS partition, the setuid bit is lost:

A@root:/tmp# ls -al foo
-rwsr-xr-x 1 root system 12 Feb 11 10:24 foo*
A@root:/tmp# df -k /bar
Filesystem 1024-blocks Used Available Capacity Mounted on
B:/bar 6622728 2710799 1772088 61% /bar
A@root:/tmp# tar cf - foo|(cd /bar; tar xfBp -)
A@root:/tmp# ls -al /bar/foo
-rwxr-xr-x 1 root system 12 Feb 11 10:24 /bar/foo*
A@root:/tmp#

This problem shows up only when B uses patchkit 6, the copy works fine
with patchkit 3, 5, or no patchkit at all. The system installed on A,
and the tar program used (/sbin/tar or GNU tar) are not relevant.

Does anyone know a solution for this, apart from downgrading to
patchkit 5?

Thanks,

-- 
Nicolas


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:51 EDT