smbstatus can tell you what files are being locked but it doesn't directly give you the user who is locking them. I wrote a little bash script that will tell you who is locking files on the samba server. Usage is simply: smblock.sh foo

This will list the users who are locking file 'foo' (or 'foobar' or 'foofyfoo' etc). You don't need to use the full path. Get it here.


CategoryLinux CategorySamba

SambaFileLocking (last edited 2006-02-11 15:28:02 by DavidKeen)