Jump to content
  • 0

[bug] Cannot rename files/folders through reparse points


Willem

Question

I'm happily using symbolic links but i cannot rename a file or folder through the symlink.

 

Example:

In folder D:\ServerFolder\Videos i've got a symlink called '#Vers' pointing to D:\ServerFolders\Public

 

>ren d:\ServerFolders\Videos\#Vers\test.txt test2.txt
A duplicate file name exists, or the file
cannot be found.

 

When I work through the gui, windows gives me the following error:

2m807ix.png

 

Link to comment
Share on other sites

16 answers to this question

Recommended Posts

  • 0

Creating a new file ain't the problem, after creating windows asks for a filename which equals a rename and therein lies the problem. When creating a new textfile seems to fail, a newly created "New Text Document.txt" exists.

Link to comment
Share on other sites

  • 0

Some more odd behaviour I'm seeing. I tested with move to try and rename a file.

 

As before #vers is a symlink

 

\\homeserver\videos\#Vers\testing>dir
Directory of \\homeserver\videos\#Vers\testing

14-05-2014 21:43 <DIR> .
14-05-2014 21:43 <DIR> ..
14-05-2014 21:43 3 test.txt
1 File(s) 3 bytes

\\homeserver\videos\#Vers\testing>move test.txt test2.txt
Overwrite \\homeserver\videos\Vers\testing\test2.txt? (Yes/No/All): n
0 file(s) moved.

 

Why does it warn of overwriting a non-existing file?

Second test the real path

 

 

\\homeserver\public\testing>dir
Directory of \\homeserver\public\testing

14-05-2014 21:43 <DIR> .
14-05-2014 21:43 <DIR> ..
14-05-2014 21:43 3 test.txt
1 File(s) 3 bytes
 
\\homeserver\public\testing>move test.txt test2.txt
1 file(s) moved.

\\homeserver\public\testing>dir
Directory of \\homeserver\public\testing

14-05-2014 21:44 <DIR> .
14-05-2014 21:44 <DIR> ..
14-05-2014 21:43 3 test2.txt
1 File(s) 3 bytes

 

 

Link to comment
Share on other sites

  • 0

Alex is the one that is the "file system expert" here. 

 

However, what I do know is that renaming is probably one of the most tricky file system operations that you can perform.

It's complicated and can come back with a lot of issues.

 

As I said before, if you're experiencing ANY issues with the file system like this, then please enable tracing, reproduce the issue, and upload logs. This helps us to identify issues, so that we can fix them.

And also, make sure you're using 2.1.0.5xx (any of the "500" builds), if you're using Reparse points.

Link to comment
Share on other sites

  • 0

I don't know why but if I enable tracing (gear icon -> Troubleshooting -> Enable file system logging) nothing gets logged.

At least not in the log folder ("C:\ProgramData\StableBit DrivePool").

 

I did a server restart at 10:50 and it gets logged (maybe not the restart itself but something else is). But after that there aren't any changes in the directory from above.

Maybe it's the wrong directory or am I doing something wrong?

 

I enabled tracing and created and moved a lot of files but there are no logs at all.

Link to comment
Share on other sites

  • 0

Thanks. Which version (will) has (/have) the fix?

2.1.0.541 from today?

 

Yes, and for future reference, the link to the IAR always contains the version number under "CCR Implemented in". So that's why I post that link as well. For every code change request that I complete, I make a build and put the build number in the IAR.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  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.

Loading...
×
×
  • Create New...