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. -- Bob Wooldridge *EDM Incorporated*
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? Piviul
On 1/6/22 20:41, Robert A Wooldridge via samba wrote:> 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?man smb.conf -> strict rename -slow -- Ralph Boehme, Samba Team https://samba.org/ SerNet Samba Team Lead https://sernet.de/en/team-samba -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20220107/5156cb8d/OpenPGP_signature.sig>