- Home /
Unity 3d Read/Write Permissions - How to set permanently in network user envionment?
Hello,
I am using Unity 3.1.0f4, on a Mac OSX 10.6 system (Snow Leopard). Every time a different network user logs in and attempts to run Unity it states they have to set permissions for the "Project Folder" to read/write.
I can do this as system administrator, but it is a huge hassle and would have to be done a every time a different network user attempts to run Unity on this machine. I would like to set the necessary areas/folders to be 'Permanently' read/write for all users.
A) Where is the "project folder," and is there any reason I could not manually set this folder to have ignored ownership/ full read+write for all users?
B) If this is not an option, what would be the work-around for this?
I appreciate your help!
Best regards - Brett
Personally I'd suggest getting Windows 7, as it is by far superior to any Apple product that's been made, and will ever be made... As $$anonymous$$ac's are just glorified Dos 3.1 machines... But personal opinion =).
Answer by Bunny83 · Jul 03, 2011 at 12:12 AM
It's a quite old question but it suddenly poped up as related question (which it isn't...). Anyway, I guess the problem is that Unity always opens the last project when started. Since the last project is not longer in the users folder (it's another user therefore another folder) Unity complains.
Try to check "Show Project Wizard at Startup" in Edit-->Preferences. That will show the open dialog before unity starts. Another way to prevent Unity from loading the last project is to offer an empty project in a shared folder that is always available and use the parameter "-projectPath "path/to/project"" to "force" Unity to load this project when launched.
I'm not sure if that's the problem (I don't use mac ;)). I'm just guessing...
I think that problem would exist in windows networks as well ;)
Answer by stelios · Feb 10, 2012 at 10:06 AM
here is the solution. every time a new user logs in and opens unity it changes file permissions of some of the files of unity under users/shared and thus when a new user logs in it requires admin rights to change this file permissions. the solution i found was to write a launch daemon that automatically changes file permissions for this you need a .plist fie i called it com.unity.Chmod. save this file under /Library/LaunchDaemons and then tun the follwoing two commands sudo chown root:admin /Library/LaunchDaemons/com.unity.Chmod.plist
sudo launchctl load -w /Library/LaunchDaemons/com.unity.Chmod.plist
thats it.everytime the computer is restarted it clears the file permissions below is the plist file
http://www.apple.com/DTDs/PropertyList-1.0.dtd"> Label com.unity.Chmod ProgramArguments chmod -R 0777 /Users/Shared/Unity/ UserName root RunAtLoad
Your answer
![](https://koobas.hobune.stream/wayback/20220613094938im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Can't run unity 2.6.1 on mac os x 10.6.3 2 Answers
Installing Unity on a multi-user environment, how to set permissions? 0 Answers
Standalone OSX players can't start after having been through DropBox 0.7.110 1 Answer
Unity3d Mac project freezes when importing ogg/mv4 files on external hard disk 4 Answers