dperson / samba

Samba docker container
GNU Affero General Public License v3.0
1.52k stars 514 forks source link

enable shares files rw ! #378

Open sunnyseaman opened 3 years ago

sunnyseaman commented 3 years ago

In some cases, the files in the shared directory are read-only and cannot be modified. This may be due to the following reasons. My problem is solved in this way. modify conf file: /etc/samba/smb.conf:

# vfs objects = catia fruit recycle streams_xattr <-- share folder rw server min protocol = NT1 <-- huawei Android can access the smb server

ManuelSchneid3r commented 3 years ago

This took me some days to figure out. Given the config this image only works with filesystems which support xattr (no exfat therefore). @dperson please remove fruit streams_xattr for max portability.

Some more details: https://superuser.com/questions/1648510/writable-samba-share-ends-up-read-only/1649058#1649058