From: bruce@netcom.com (Bruce V. Schwartz)
Subject: Re: Help: Can't rename a volume...
Date: Fri, 21 Aug 92 00:24:13 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Distribution: usa

Thanks for all the responses!  Several people pointed out that your
can't raname a volume with file sharing on.  But the winning answer
is that the volume had become locked.  (It's a 7.0 bug that can
happen if you share with a 6.x system).  There's a program called
Unlock Folder available from ftp.apple.com or this following tiny
(< 3K) program I received that unlocks all root volumes.

-Bruce Schwartz
 bruce@netcom.com


From walkerj@milo.math.scarolina.edu Thu Aug 20 09:58:00 1992
Return-Path: <walkerj@milo.math.scarolina.edu>
Received: from netcomsv.netcom.com by netcom.netcom.com (4.1/SMI-4.1)
	id AA05685; Thu, 20 Aug 92 09:57:56 PDT
Received: from milo.math.scarolina.edu by netcomsv.netcom.com (4.1/SMI-4.1)
	id AA15261; Thu, 20 Aug 92 09:57:53 PDT
Received: by milo.math.scarolina.edu (5.57/mathstat-28NOV1991)
	id AA05158; Thu, 20 Aug 92 12:58:49 -0400
Date: Thu, 20 Aug 92 12:58:49 -0400
From: walkerj@milo.math.scarolina.edu (Jim Walker)
Message-Id: <9208201658.AA05158@milo.math.scarolina.edu>
To: bruce@netcom.com
Subject: Re: Help: Can't rename a volume...
Newsgroups: comp.sys.mac.programmer,comp.sys.mac.system
Status: OR

I don't know why, but it seems that the nameLocked bit has been set on the
root directory.  Irritatingly, tools like ResEdit and Norton Disk Editor
will let you mess with every directory *except* the root directory.  So I
wrote a little application that scans all mounted volumes and clears any
namedLocked bits on root directories.  Here it is.

(This file must be converted with BinHex 4.0)

:&&C[E(9YC5"1B@eP)&9ZE'pMDf9b!%&38%aUGeC1)!#3"`TDE4`!N!3"!*!$#18
!!!IP!!!"G8488P0*6NP8"3#3"J*J!!#!#`&%9&*658j*9!B!&&C[E(9YC5"1B@e
P)&9ZE'pMDf9b)!)!N!0"8&"-DRF!!%&38%aUGeC1)3$rN!3!N"+Q)&iI!*!'#PT
%De434%&833-!N!B#G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