I recently installed Debian 12 for Raspberry Pi and configured a Samba server. But now when I delete a file or a folder over the network I get an error, Samba object not found and then the file or folder gets deleted. Also if a folder contains multiple files, I have to delete all files one by one to delete that folder. This is only happening over the network. If I delete the same folder or file using a shell on the Raspberry Pi the files get deleted without any error.
This was not happening on my previous Debian 11 installation.
I have installed cifs-utils, smbclient also.
File permissions are all set to 0777 and (user and group) are for user server.
sudo chown -R server:server /media/Server
sudo chmod 0777 -R /media/Server
Below is the mounting string from /etc/fstab on the server
UUID=xxxxxxxxx /media/Server ntfs defaults,auto,users,uid=998,gid=992,rw,nofail 0 0
Below is the smb.conf:
[Server]
path = /media/Server
browseable = no
read only = no
valid users = server
writeable = yes
create mask=0777
directory mask=0777
Kindly help me to fix the issue
/mnt/Serverto use a native filesystem?