Opening an active text file
Andrew Duane X5993
duane at cg-atla.UUCP
Tue Mar 1 03:27:26 AEST 1988
In <4320 at june.cs.washington.edu>, Kenneth Almquist indicates
that the following actions are illegal (ETXTBUSY):
1) Opening a file that is being executed.
2) Executing an open file.
3) Deleting the last link to a file that is being executed.
(1) and (2) are somewhat wrong. Only WRITE access is
incompatible with execute access. (1) should be "opening a file
for writing that is being executed", and (2) should be
"executing a file that is open for write". Check the manual
pages on this [try intro(2) and exec*(2)]
(3) is handled invisibly by the kernel. The image stays around
as long as it is being executed, then disappears.
Andrew L. Duane (JOT-7) w:(617)-658-5600 X5993 h:(617)-475-9188
Compugraphic Corp. decvax!cg-atla!duane
200 Ballardvale St. ulowell/
Wilmington, Mass. 01887 cbosgd!ima/
Mail Stop 200II-3-5S ism780c/
Only my cat shares my opinions, and she doesn't know how to type.
More information about the Comp.unix.wizards
mailing list