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