Blog pessoal de Felipe Portella

Fix windows offline files with “The process cannot access the file because it is being used by another process” errors

without comments

When encountering this error you can solve by changing the OPLOCKS flags in the Samba config file:


Add the following lines, at the bottom of the GLOBAL section, just before the ‘include’ line;

oplocks = yes 
level2 oplocks = yes 
kernel oplocks = no

Now reboot or restart samba

Written by Felipe Portella

dezembro 3rd, 2012 at 3:55 pm

Posted in Linux,Uncategorized

Leave a Reply

You must be logged in to post a comment.