Jump to content
  • [6.7.0-rc2] Share name with an apostrophe creates a second share with an underscore


    dlandon
    • Closed

    I created a share called "Dan's Stuff".  Unraid created a second share called "Dan_s Stuff" automatically.  I'm working with the Recycle Bin plugin and when I delete a file on Dan's Stuff it shows in Dan_s Stuff.

     

    148337901_ShareIssue.thumb.png.80675323dad881b1456259ecd350da73.png

     

    Two shares are actually created:

    [Dan's Stuff]
    	path = /mnt/user/Dan's Stuff
    	comment = Test share
    	browseable = yes
    	public = yes
    	writeable = yes
    	vfs objects = extd_audit recycle
    	recycle:repository = %P/.Recycle.Bin/
    	recycle:directory_mode = 0777
    	recycle:keeptree = Yes
    	recycle:touch = Yes
    	recycle:touch_mtime = No
    	recycle:minsize = 1
    	recycle:versions = Yes
    	recycle:exclude = *.tmp,*.ign,*.db-*
    	recycle:exclude_dir = .Recycle.Bin
    [Dan_s Stuff]
    	path = /mnt/user/Dan_s Stuff
    	comment = 
    	browseable = yes
    	public = yes
    	writeable = yes
    	vfs objects = extd_audit recycle
    	recycle:repository = %P/.Recycle.Bin/
    	recycle:directory_mode = 0777
    	recycle:keeptree = Yes
    	recycle:touch = Yes
    	recycle:touch_mtime = No
    	recycle:minsize = 1
    	recycle:versions = Yes
    	recycle:exclude = *.tmp,*.ign,*.db-*
    	recycle:exclude_dir = .Recycle.Bin

    I didn't mark this as urgent because I don't think it results in data loss, but data might not show up as expected.  I think this will also create a permissions issue because the 'ghost' share's default permissions are not set by the user.

     

    backupserver-diagnostics-20190204-0816.zip




    User Feedback

    Recommended Comments

    Well isn't that just special!  So anyone with an apostrophe in the share name will have Recycle Bin issues.  I can't work around that.

    Link to comment
    53 minutes ago, dlandon said:

    Well isn't that just special!  So anyone with an apostrophe in the share name will have Recycle Bin issues.  I can't work around that.

    Yeah it's not ideal.  Lemme take a look at the source code...

    Link to comment

    I dont think its neccessary, i always name everything "save". 

     

    Mabye just rename it under the curtain and just use the propper display name?

    Edited by nuhll
    Link to comment

    That's not really a good answer because a phantom share is created by Unraid without the user's knowledge and both show in a browser.  Very confusing.  I'd say the thing to do right now is to not enable the recycle bin for that share.

    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...