Samba - shared directories write permission denied

This is my setup:

When I try to create/edit file in these folders from any device in my network I get “Permission denied”.

root@turris:/nas# ls -la
drwxr-xr-x    4 root     root          4096 Apr  3 12:27 .
drwxr-xr-x    1 root     root           144 Apr  3 11:39 ..
drwxr-xr-x    2 root     root          4096 Apr  3 13:39 backups
drwxr-xr-x    2 root     root          4096 Apr  3 12:27 media

Example for a write right

chmod 777 -R /mnt/sda/share

2 Likes

Sure, so obvious…thanks.

But these masks don’t seem to work. When I create a new file as root on Omnia it still has 644. Do I have to restart or something?

Do you have active Storage in Foris menu ? Show youre “Mounted file systems”.

To be clear, the mask applies to creation over the SMB protocol. If you ssh to root@myOmnia, you access the files directly.

1 Like

Oh, I see. Thank you.