How to determine who has locked a file?

icdadmin

Dabbler
Joined
Jun 7, 2018
Messages
28
Is there a way from the Shell (or anyplace really) to determine who has a lock on a file and kill the lock? I occasionally have users who try to edit/save a file that has been accessed via SMB, but the save won't complete because it appears that someone else is using the file.
 

ebricca

Cadet
Joined
Mar 30, 2016
Messages
4
one could use full_audit and see who wrote "lock files" / opened the file last
(possibly in connection with a secondary log server like graylog for easy log search)
 
Top