Prevent .Apple*-Folder from creation/appearing on linked smb-share on windows

  • Hey!


    Situation: one OMV, used by apple and windows clients - windows: smb/cifs, apple: apple filing, file-system: ext4


    When I integrate a smb-share over the windows explorer on my machine, I always see folders that are created on apple: .AppleDB, .AppleDesktop, .AppleDouble...
    Especially the .AppleDouble fodler is annoying, because it appears in every subfolder of that share.


    Any idea how I can prevent my smb-share from creating/showing these folders?


    Make them only invisble is not really an option.


    Greetings, Johannes

  • Do you have Hide Dot Files enabled for the samba share?

    omv 5.6.6 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.1
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Add the following to the extra options box in smb/cifs settings page (I don't have my mac setup to test):


    veto files=/.AppleDB/.AppleDesktop/.AppleDouble/
    delete veto files = yes


    The second line just allows you to delete folders when veto files occur in them or subdirectories.

    omv 5.6.6 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.1
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Thank you for your help - erverything works as expected.


    But perhaps it's important to say for everyone else: I had to restart my pc to apply the changes.

  • Good to hear.


    When you say restart, do you mean the server or the client?

    omv 5.6.6 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.1
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • afp/netatalk doesn't create the files. Mac OS X creates them.

    omv 5.6.6 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.1
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

Participate now!

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