On 04/08/98 11:35:09 you wrote:
sirbruce wrote:
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.
I think having to take explicit action to terminate a CIFS session is preferable to blowing it away as a side-effect of a remove. I would worry about making it too easy to accidently remove something that is in use.
I agree with your concerns, but this is exactly why such power is restricted to root. People doing removes as root are already well aware of the dangers of their actions. Removing something in use is already something that has to be faced under NFS, so why do they need additional hand-holding when dealing with a file used via CIFS?
Your argument isn't a bad one but it just doesn't fit the paradigm UNIX folks have come to expect. This is just one of many "clashes" between two worlds that will have to be resolved over time.
Bruce