Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USD handles Windows mount points/junctions incorrectly #1377

Closed
marktucker opened this issue Oct 31, 2020 · 2 comments
Closed

USD handles Windows mount points/junctions incorrectly #1377

marktucker opened this issue Oct 31, 2020 · 2 comments

Comments

@marktucker
Copy link
Contributor

marktucker commented Oct 31, 2020

Description of Issue

When trying to write files to locations that are under Windows mount points (junctions), the USD path handling code in Tf and Arch has issues that cause failures.

Steps to Reproduce

  1. Open a command prompt as an administrator.
  2. Assuming a machine has two drives, C and D, create a folder D:\bar.
  3. From C:, run 'mklink /J foo D:\bar\sub'
  4. Start python and run:
    from pxr import Usd
    s = Usd.Stage.CreateInMemory()
    s.Export('C:/foo/sub/out.usda')
    Produced this error: Insufficient permissions to write to destination directory 'C:\sub'
    s.Export('C:/foo/out.usda')
    Produced this error: Cannot create path to write 'c:/foo/sub/out.usda'

Note that these are two different errors, indicating two different bugs.

System Information (OS, Hardware)

Windows

@jilliene
Copy link

jilliene commented Nov 3, 2020

Filed as internal issue #USD-6462

@sunyab
Copy link
Contributor

sunyab commented Aug 12, 2022

Closing old issue, this was fixed by #1378.

@sunyab sunyab closed this as completed Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants