From: sirbruce@ix.netcom.com Date: Tue, 7 Apr 1998 13:31:33 -0500 (CDT) To: jeff.stampes@xilinx.com To: toasters@mathworks.com Subject: Re: File Locking
<stuff deleted>
To actually break the locks, you have to log into the filer and blow away that user's session. This just seems needlessly cumbersome. Assuming most environments have one with root access to the filesystem also having access to the filer, you are ultimately not "preventing" any behavior... you're just making it harder for the administrator. In other words, that UNIX rm should result in that CIFS user being logged out if need be.
Ok, I'm a network Admin in a SW development company that has a netapp on order to replace an old & creaky NT file server.
We use a product that locks files and sometimes doesn't unlock them and I have to unlock them manually.
Now I know this is our files are on a NT server, but if you fire up 'winfile' from an NT box, connect to the share on ther server, highlight the file, select properties (ALT-Enter), select 'Open By', you are given a list of users who currently have the file open AND can chuck them off.
What's the behaviour on a filer when you do the above? I hope it's the same or I'm going to have problems.
Now, on the original question from Jeff about not being able to apply patches since his QA team have the file locked.
Surely this is the required behaviour. NT would have a fit if you patched a DLL or an EXE while it was in use.
If your QA team really want the latest build, then either copy it (or snapshot it?) to another area and let them mess with it there. Then you can patch the original.
On the SW process front, I think it's a bad idea to patch a build that has gone to QA (unless it's a really major bug), but rather you should wait for a list of bugs to come back from QA (in the meantime you can fix the bugs the developers know about but QA hasn't found yet). This allows you to track the particular builds (bugs in which builds etc) and also allows you to do a diff if a build which was working isn't anymore (oh didn't I tell you, I applied patch 501 to machine X at 1am this morning!) Of course to do the diff you need the original. Now I suppose you could do a snapshot of the files before you patch. Just my pennys worth (being there, done that, got the T shirt)
Regards, GB
-- Garrett Burke, Network Admin,Managed Solutions Corp. 32 Upper Mount St., Dublin, Ireland. burkeg@msc.ie +353-1-661-4840 A jug of wine, a loaf of bread and thou.