Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by Lambinvoker · Oct 01, 2014 at 02:10 AM · errorpathinstallationpermissionsmultiuser

Installing Unity on a multi-user environment, how to set permissions?

I'm trying to install Unity in the computer labs here at my university. I have system admin access and have successfully pushed a silent install onto each of our labs' desktops. Unity opens up and everything seems to work fine until I try to code a script in Monodevelop. The trouble is how Unity is requiring permissions in our multi-user environment. Here is the error that I'm getting:

 UnauthorizedAccessException: Access to the path "\" is denied.
 System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.IO/FileStream.cs:320)
 System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share)
 (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
 System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.IO/StreamWriter.cs:124)
 System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding)
 (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool,System.Text.Encoding)
 System.IO.File.WriteAllText (System.String path, System.String contents, System.Text.Encoding encoding) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.IO/File.cs:626)
 System.IO.File.WriteAllText (System.String path, System.String contents) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.IO/File.cs:621)
 UnityEditor.VisualStudioIntegration.SolutionSynchronizer.SyncFileIfNotChanged (System.String filename, System.String newContents) (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/VisualStudioIntegration/SolutionSynchronizer.cs:204)
 UnityEditor.VisualStudioIntegration.SolutionSynchronizer.SyncSolution (IEnumerable`1 islands) (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/VisualStudioIntegration/SolutionSynchronizer.cs:336)
 UnityEditor.VisualStudioIntegration.SolutionSynchronizer.Sync () (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/VisualStudioIntegration/SolutionSynchronizer.cs:172)
 UnityEditor.SyncVS.CreateIfDoesntExist () (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/SyncProject.cs:107)
 UnityEditor.DockArea:OnGUI()

Running Unity as an administrator is not an option. Since this install is for a multi-user environment, I don't want Unity allowing my users to poke around where they shouldn't. What really I find odd, is that from the error it appears that Unity is trying to access the "\" path, which frankly doesn't exist on my system.

So my question is, how do I go about setting up permissions/preferences to grant Unity access to exactly what it needs without indirectly giving my users the keys to the whole system?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image _joe_ · Oct 20, 2014 at 08:17 AM 0
Share

I'm looking for the same issue, thanks for posting it.

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Problems installing and running unity 0 Answers

can not install 1 Answer

Surface Pro 6 Installation Error,App associated error when downloading unity license file 0 Answers

Path drawing script giving error 0 Answers

I Have a problem. The Log is 'Couldn't set project path to: C\....' 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges