Unix extensions in Samba Server

  • My Hard- and Software: LE 9.2.3 on Raspberry Pi 4



    Hello everybody,


    I use my Raspberry Pi as a little NAS with a external harddisk connected via USB, sharing the data via Samba.

    As I noticed, the CIFS mount on my client states "nounix" in the mount options:



    Code
    mount | grep /media/data
    //192.168.1.3/daten on /media/data type cifs (rw,nosuid,nodev,relatime,vers=3.1.1,cache=strict,username=myusername,uid=1000,forceuid,gid=1000,forcegid,addr=192.168.1.3,file_mode=0777,dir_mode=0777,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1,x-systemd.automount)


    So I added the line

    Code
    unix extensions = yes

    in the global section of

    Code
    /storage/.config/samba.conf

    but (after rebooting) it didn't change anything.


    Aren't the unix extensions supported by LibreELEC?

  • unix extensions should work fine if you grade down max protocol version from 3.0 to 1.0 on the client side. You can select that inside the services menu - chose the smb client register and switch max protocol from smbv3 (or none) to max smbv1.