NFS problem with 5.1A patchkit 6

From: <Nicolas.Courtel_at_regis-dgac.net>
Date: Wed, 11 Feb 2004 12:21:53 +0100

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_at_root:/tmp# ls -al foo
-rwsr-xr-x 1 root system 12 Feb 11 10:24 foo*
A_at_root:/tmp# df -k /bar
Filesystem 1024-blocks Used Available Capacity Mounted on
B:/bar 6622728 2710799 1772088 61% /bar
A_at_root:/tmp# tar cf - foo|(cd /bar; tar xfBp -)
A_at_root:/tmp# ls -al /bar/foo
-rwxr-xr-x 1 root system 12 Feb 11 10:24 /bar/foo*
A_at_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
Received on Wed Feb 11 2004 - 11:28:31 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT