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 can't write layers when executable launched from beneath a Windows junction #1440

Closed
marktucker opened this issue Jan 31, 2021 · 2 comments

Comments

@marktucker
Copy link
Contributor

Description of Issue

Related to #1377, but with a somewhat different cause. When a USD executable is launched from within "D:/foo", where "D:/foo" is a symlink or junction to "F:/foo", and then tries to write to "D:/foo/bar.usda", it fails with a permission error (which isn't really a permission error).

Steps to Reproduce

  1. Create a junction on Windows from D:/foo to F:/foo.
  2. In a command prompt, navigate to D:/foo, and launch python.
  3. Run the following:
    from pxr import Sdf
    l = Sdf.Layer.CreateAnonymous()
    l.Export("d:/foo/bar.usda")
  4. The last line fails with 'Insufficient permissions to write to destination directory 'f:\foo\foo''

System Information (OS, Hardware)

Windows

Package Versions

USD 20.08 and 21.02

@jilliene
Copy link

jilliene commented Feb 3, 2021

Filed as internal issue #USD-6556

@sunyab
Copy link
Contributor

sunyab commented Aug 13, 2022

Closing old issue, this was addressed by #1441.

@sunyab sunyab closed this as completed Aug 13, 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