Subject: bin/4981: uncompressing on NFS fails due to chflags
To: None <>
From: Hubert Feyrer <>
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
>Originator:     Hubert Feyrer
Hubert Feyrer <>
>Release:        <NetBSD-current source date>
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

	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

	% 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 $?

	(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!)

	unknown. warn that the chflags failed, but set return code to
	zero anyways.