# Advanced user sandbox setup

**URL:** <https://community.shotgridsoftware.com/t/advanced-user-sandbox-setup/9557>\
**Category:** Pipeline Integrations\
**Tags:** bug\
**Created:** [August 2, 2020, 5:46am UTC](https://community.shotgridsoftware.com/t/advanced-user-sandbox-setup/9557 "2020-08-02T05:46:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sreenathan\_Nair](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/sreenathan_nair/32/2144_2.png) [@Sreenathan\_Nair](https://community.shotgridsoftware.com/u/Sreenathan_Nair)\
**Post date:** [August 2, 2020, 5:46am UTC](https://community.shotgridsoftware.com/t/advanced-user-sandbox-setup/9557/1 "2020-08-02T05:46:42Z")

</div>

Hi!

I apologize if the question has been asked before, I’ve been trying to find a working example of setting up `user sandboxes`.

I have a two part question:

1. I am in the process of enabling `user sandboxes` for `tk-multi-workfiles`, I added a `user` directory in `work` inside the schema, my `user.yml` looks like this:

2. We have an internal server setup, where user sandboxes are maintained outside the `projects` mount. I want the user to be able to save their workfile to the `users` mount. I created a second `LocalStorage` in SG and updated `roots.yml` with the newly created `LocalStorage` details. Is this doable in any form?

---

<div class="post-metadata">

**Author:** ![tannaz](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/tannaz/32/32_2.png) [@tannaz](https://community.shotgridsoftware.com/u/tannaz)\
**Post date:** [August 8, 2020, 12:24am UTC](https://community.shotgridsoftware.com/t/advanced-user-sandbox-setup/9557/2 "2020-08-08T00:24:05Z")

</div>

Hi @Sreenathan_Nair!

1: [Here’s an example of how to set up a HumanUser template key in templates.yml](https://support.shotgunsoftware.com/hc/en-us/articles/219039868-Integrations-File-System-Reference#Example%20-%20Subsets%20of%20strings).

2: That’s a tricky one. We’re actively thinking about making storage roots more flexible in Toolkit (one idea is to support environment variables, which would help here). In the meantime, there’s no real solution on the Toolkit side, but I wonder if you could achieve what you’re after with a symbolic link from the mount point on the local machine to the path that Toolkit is expecting?

Hope that helps! Let us know if you have any other questions.

---

<div class="post-metadata">

**Author:** ![Sreenathan\_Nair](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/sreenathan_nair/32/2144_2.png) [@Sreenathan\_Nair](https://community.shotgridsoftware.com/u/Sreenathan_Nair)\
**Post date:** [August 8, 2020, 9:08am UTC](https://community.shotgridsoftware.com/t/advanced-user-sandbox-setup/9557/3 "2020-08-08T09:08:13Z")

</div>

Hi @tannaz,

1. That was exactly the information I was looking for. Thank you very much!

2. I was considering the symlink option, but with NFS and Windows in the mix I wanted to keep that as a lower priority option. However, thank you for the clarification! I will build something outside of toolkit for the user sandbox files I/O.

Best wishes,  
Sreenathan

---

<div class="post-metadata">

**Author:** ![tannaz](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/tannaz/32/32_2.png) [@tannaz](https://community.shotgridsoftware.com/u/tannaz)\
**Post date:** [August 11, 2020, 12:05am UTC](https://community.shotgridsoftware.com/t/advanced-user-sandbox-setup/9557/4 "2020-08-11T00:05:09Z")

</div>

Ah yes, symlinks + Windows = treacherous waters indeed. Good luck with your alternate solution!

---

<div class="post-metadata">

**Author:** ![tannaz](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/tannaz/32/32_2.png) [@tannaz](https://community.shotgridsoftware.com/u/tannaz)\
**Post date:** [August 12, 2020, 1:05am UTC](https://community.shotgridsoftware.com/t/advanced-user-sandbox-setup/9557/6 "2020-08-12T01:05:01Z")

</div>

Hi @Sreenathan_Nair - no big news, but just a bit of housekeeping: I know you have a workaround, but I’ve linked this post to the internal ticket for improvements I mentioned. We’ll be notified when it’s resolved, and we will notify you in turn.

---

<div class="post-metadata">

**Author:** ![Sreenathan\_Nair](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/sreenathan_nair/32/2144_2.png) [@Sreenathan\_Nair](https://community.shotgridsoftware.com/u/Sreenathan_Nair)\
**Post date:** [August 12, 2020, 4:53am UTC](https://community.shotgridsoftware.com/t/advanced-user-sandbox-setup/9557/7 "2020-08-12T04:53:42Z")

</div>

Thanks @tannaz! Looking forward to having this functionality out of the box in the future 🙂
