macOS - Finder - Enter your password to allow this

  • Hi all !


    During this year I am in the process of changing my Synology NAS to a OMV NAS, so far so good, I am very satisfied with OMV, so first things first, thank you for your work!


    Since the beginning I am dealing with an issue while moving or renaming folders. See attachment.

    This issue is not persistent, when I connect to SMB share I can move/rename without any problems, but after some time I get the error. And then I disconnect from Share and connect, it works again...


    Maybe it is a macOS problem, but i don't have a minus clue.


    I am running the latest version of macOS (Sequoia 15.1) and OMV (Sandworm 7.4.10-1) and I have a very simple setup :

    File Systems : type EXT4

    Shared Folder with permission Read/Write to 1 user (I am not using ACL's)

    SMB/CIFS Share


    I have tried :

    - I was thinking of permission problem with some folders, but I checked and I used de Reset Permission plugin.

    - I looked into the System Logs and found nothing for "SMB/CIFS - Audit".


    If someone can give me some advice / help, it would be greatly appreciated.

  • I had similar issues ... it had to do with samba configuration (for the server and the shares).because samba is focussing on Windows/Linux ...

    If you could paste your configuration (two screenshots, one from the server, one from a share) on omv-side I would compare with my working config and tell you the differences.

    In general there are some "fruit-parameters" which have to be set in the "extended options" box for macOS.


    Or you search in this forum for macOS and SMB configuration. You shoud find some threads.

    Raspi 4B, 4GB RAM, SSD-Boot, 2TB & 1TB SSD as data-disks in Sata/USB enclosure, IcyBox USB3-Hub

  • First thing, don't use ACL's for permissions unless you really need them and know how to set them up. Use regular linux permissions.


    Read this


    Second, Apple has their own spin on samba.

    Read this for some info on setting the environment variables to help with mac (these option are automatically set if timemachine is enabled).

    openmediavault 6: Optimize SMB for macOS – LisaNet


    In the extra options of the samba server and the share, I use these additional options also to help with some speed issues and to "dumb things down" even more to


    Server

    client min protocol = NT1

    client plaintext auth = yes

    dead time = 15

    getwd cache = yes

    local master = yes

    max xmit = 65535

    min receivefile size = 16384

    ntlm auth=yes

    null passwords = yes

    preferred master = yes

    read raw = yes

    server min protocol = NT1

    socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536

    write cache size = 524288

    write raw = yes



    On the share these settings open up permissions more and force file creations to use the given permissions and user (edit as needed)

    Share

    create mask = 6777

    directory mask = 6777

    force create mode = 6777

    force directory mode = 6777

    force user = (set to name of user that will own the files)

    force group = users



    These settings do not completely get rid of mac quirks, but they help a lot.

  • It's all said :)

    In addition I defined in "Extra Options" for


    Server:

    fruit:metadata = stream

    fruit:nfs_aces = yes

    fruit:copyfile = no

    fruit:locking = none

    fruit:encoding = private

    fruit:resource = xattr


    For each Share:

    vfs objects = catia fruit streams_xattr

    Raspi 4B, 4GB RAM, SSD-Boot, 2TB & 1TB SSD as data-disks in Sata/USB enclosure, IcyBox USB3-Hub

  • Setting those options with the environment variable doesn't require entering them in each share because they are enabled by default.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!