Jump to content
  • Samba Case Sensitivity issue


    peter76
    • Closed

    I have a share "SysLog", shared via samba and used for Syslog-Server.
    I accidentialy created a Folder "Syslog/backups"  (with "l" and not "L" !) calling "mkdir -p /mnt/user/Syslog/backups"
    now the were two folders: "/mnt/user/SysLog" and "/mnt/user/Syslog" on disk and showen in shares-tab.

    Samba Server now used the new (wrong) folder "Syslog" instead of "SysLog".
    This seems to be a bug and should be prevented in some way.

    My solution was stopping all Services (Docker, VM), the I was able to delete "/mnt/user/Syslog" via shares-tab (deleting in cli was not possible for me).
    After restarting Services everything was fine again 🙂

    tower-diagnostics-20230716-1734.zip




    User Feedback

    Recommended Comments

    This is inherent in the way Samba operates.    The SMB protocol is case insensitive whereas Linux is not.    If two files/folders exist with the same spelling but different case then Samba will pick up one of them snd ignore the other.   I do not know how you can tell which one it will pick up.

     

    The only thing I think Unraid can do is somehow warn you about this.   I ‘think’ it will stop you creating shares like this via the GUI, but not when you do it under the covers.

    Link to comment

    thanks for this information, now I understand what was happening, makes sense..

    my learning: we have to be careful when operating manually in the deep of Unraids filesystem 🙂

    Link to comment


    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.

×
×
  • Create New...