samba icon indicating copy to clipboard operation
samba copied to clipboard

Cannot delete files in all shares

Open Aragur opened this issue 4 years ago • 11 comments

Hey after upgrading to the latest version a problem occurred.
I cannot delete any files. On Windows the file get's deleted but reappears after a refresh. Also weird is that I can delete directories but only if they have no files inside, also I can rename and modify the file too.

I tried anything. Added the user as admin (what should this do?). Reapplied the permissions, checked everything. (Trash-Can is also disabled)

https://user-images.githubusercontent.com/11004008/107713642-fb95ee00-6ccb-11eb-89b0-8c412554e5bd.mp4

Aragur avatar Feb 11 '21 23:02 Aragur

I can confirm that this worked on a2cda42fb056. (Just retagged and tested it - delete works fine)

This is smbd version 4.12.7

Aragur avatar Feb 12 '21 00:02 Aragur

Same here, current ARM docker image. File edit and creation is working, but I'm not able to delete files.

cybermcm avatar Feb 17 '21 06:02 cybermcm

yep, same problem here

vadimstasiev avatar Feb 20 '21 22:02 vadimstasiev

I was thinking I screwed up my mount somehow, was trying to fix this for hours... why is this failing?

ciB89 avatar Feb 23 '21 14:02 ciB89

I can delete

zhejunliux avatar Feb 24 '21 09:02 zhejunliux

I can delete

I can delete folders, but not files. On Windows the files just reappear, linux says permission denied. On the host machine I can ofc delete the files.

ciB89 avatar Feb 24 '21 09:02 ciB89

Is there any news on this?

ciB89 avatar Mar 17 '21 14:03 ciB89

There is a new image on hub.docker.com with the tag armhf. Using it with a RPI, seems to work again. Although no commits here on github... Samba version 4.13.7

cybermcm avatar Apr 23 '21 19:04 cybermcm

disable the vfs option like this:

vfs objects = catia...

sunnyseaman avatar May 09 '21 08:05 sunnyseaman

docker run -it -p 139:139 -p 445:445 -v /:/all dperson/samba -g "force user=root" -g "force group=root" -s "smb;/all;yes;no;yes" -s "qgb;/all/home/qgb;yes;no;yes"

QGB avatar Sep 15 '22 15:09 QGB