Good afternoon, the following configured unit is not giving permission to delete or create new files
[USBDISK]
comment = DISK
path = /mnt/ce5df5bd-b729-4c9f-92f2-39e1a09a9292
available = yes
browseable = yes
create mask = 0775
directory mask = 0775
valid users = dietpi
writeable = yes
max connections = 8
read only = no
[usbdisk]
directory mask = 0775
valid users = dietpi root
writeable = yes
max connections = 8
read only = no
Jappe
2
In the first share you only allow the user dietpi
.
In the second one no path for the shared folder is defined.
[USBDISK]
comment = DISK
path = /mnt/ce5df5bd-b729-4c9f-92f2-39e1a09a9292
available = yes
browseable = yes
create mask =0775
directory mask = 0775
valid users = dietpi
writeable = yes
max connections = 8
read only = no
the correct one is like this, I type it twice, but how do I create and turn off the folder which command I don’t know
What exactly you like to turn off?
Can you share more information on your disk
lsblk -o name,fstype,label,size,ro,type,mountpoint,partuuid,uuid
ls -la /mnt/ce5df5bd-b729-4c9f-92f2-39e1a09a9292
it worked my friends, thank you
great tip my friend thanks
This is not a real fix to give everyone r/w access. Worst case scenario from security point of view 
Better option would be to adjust folder settings in a way to allow SAMBA user only. But of course, this takes more efforts to set it up correctly 
Yes but this is the fast way to fix his problem and it works , If he doesn’t put any of important files but media only it’s ok . 