TMPLee@DOCKMASTER.ARPA (01/27/88)
Encountered an interesting anomaly in ProDos 8 V 1.4. For reasons too long to go into here I have need to change the type of a Directory file to something else, to change the access bits, and then later to change it all back the way it was. The interesting thing is that when you use the MLI get or set file info function to do this, it appears to restore only the bits in the directory entry pointing to the directory and not the ones in the directory header itself, although when changing them the first time it does alter both sets. Its almost as if the access bit field is processed before the type field -- if the type currently is DIR then the access bits are put in both places, otherwise of course only in one. Anyone know if this is the way its supposed to work? (in effect, it leaves the directory half locked, which actually turns out to be just fine -- you can add or delete files from the directory, i.e., update it, but you can't rename or delete the directory itself without doing another unlock.) TMPLee@Dockmaster.ARPA