Windows 10 rmdir/del change read-only state of src hard links

  • Thread starter Thread starter Alec Miller2
  • Start date Start date
A

Alec Miller2

We have assets backed by Perforce that we need to duplicate into another folder hiearchy. To do this we use mklink /H to create hard links to the source files. Our makefile deletes this folder hierarchy every build, and relinks the files that are present. But I'm seeing that rmdir (or del) both change the read-only state of the source files. This then messes with Perforce's read-only tracking state, and it can't clobber the files as a result.How is it that rmdir/del can't just delete the hardlink without modifying the attribute state?This is on Win10.Version 10.0.19045 Build 19045 Here's

Continue reading...
 
Back
Top