Subject: bin/4981: uncompressing on NFS fails due to chflags
To: None <gnats-bugs@gnats.netbsd.org>
From: Hubert Feyrer <hubertf@channel.regensburg.org>
List: netbsd-bugs
Date: 02/12/1998 17:14:41
>Number: 4981
>Category: bin
>Synopsis: uncompressing on NFS fails due to chflags
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 12 08:20:04 1998
>Last-Modified:
>Originator: Hubert Feyrer
>Organization:
Hubert Feyrer <hubertf@channel.regensburg.org>
>Release: <NetBSD-current source date>
>Environment:
System: NetBSD smaug 1.3 NetBSD 1.3 (SMAUG) #0: Tue Jan 6 18:35:32 MET 1998 feyrer@smaug:/tmp_mnt/jabberwocky/usr/src/sys/arch/sparc/compile/SMAUG sparc
>Description:
when uncompressing a .Z file on a NFS volume, it fails as chflags
is not implemented on NFS:
smaug% uncompress xa1.0_cyuv_sparcAOUT.o.Z
uncompress: chflags: xa1.0_cyuv_sparcAOUT.o: Operation not supported
>How-To-Repeat:
% cp /netbsd /amd/foo/bar
% cd /amd/foo
% compress bar
compress: chflags: bar.Z: Operation not supported
% ls -la bar.Z and see that it's actually there
% uncompress bar.Z
uncompress: chflags: bar: Operation not supported
% echo $?
1
(Yet another bug: compress' way too smart: take a very small
ASCII file, and it won't compress it without telling you -
this is NOT what you expect!)
>Fix:
unknown. warn that the chflags failed, but set return code to
zero anyways.
>Audit-Trail:
>Unformatted: