[Samba] Renaming Folder With Open File

Piviul piviul at riminilug.it
Fri Jan 7 05:31:51 UTC 2022

Il 06/01/22 20:41, Robert A Wooldridge via samba ha scritto:
> We are having a problem with renaming folders.  Should a user be able 
> to rename a directory if a file in that directory is opened by a 
> different user?  Before upgrading to Samba DC this would not be 
> possible.  Attempting to rename a folder when a file was open in it 
> would result in the user attempting to rename the folder receiving an 
> error.
> But now it seems that a folder can be renamed and when the user with a 
> file open attempts to save, they receive an error.
> We are using Debian package of Samba, version 4.13.13.
when you open a file on a samba share there is a samba process that lock 
it? you can see the file locked if you use smbstatus? You can see the 
file locked if you run lsof?


More information about the samba mailing list