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
2
Question by jimbobuk · Dec 16, 2009 at 02:35 AM · editoriphonegitversion-control

Using git on scripts - Why do i have to keep setting project permissions on launching unity?

Hi,

I'm using git for managing the source control of my .cs scripts inside my assets/scripts folder. This is where git's .git folder lives.

Everytime i commit changes to files, the next time i run unity a dialog pops up saying something like, the project permissions need to be writable. Sorry i didn't note down exactly what it says. I also bizarrely have to authenticate as myself for this action to succeed and unity to launch.

It's nothing more than an inconvenience but if its fixable i would like to know how.

I was worried unity was perhaps seeing the .git folder and getting flustered by something inside it, but have been told that unity should ignore . prefixed files.

Thanks for your time

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 XaeroDegreaz · Feb 25, 2013 at 08:07 PM 0
Share

I know this is a bit late, but have you tried using Git UniTEA$$anonymous$$ from the asset store? It's an editor extension that lets you manage your Git versioned project.

1 Reply

· Add your reply
  • Sort: 
avatar image
3
Best Answer

Answer by Ricardo · Dec 16, 2009 at 04:45 AM

I got this message after some git commits up until Unity 2.6, and after bugging them about it they were kind enough to fix it. Here's part of the answer I received for my bug report, it might answer your question of what's going on:

Unity only requires execute bit on directories, not plain files.

However when fixing the permissions it does set the permissions to read, write and execute on all files and directories. This will be fixed in the upcoming 2.6 release of Unity.

In short, Unity used to demand that even source files were 755, but git kept setting them to 644. It seems that Unity iPhone still does it the old way, so you may want to raise a bug report/feature request for it. My case was 268479, in case you wish to reference it.

Comment
Add comment · Show 2 · Share
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 jimbobuk · Dec 16, 2009 at 04:18 PM 0
Share

Thanks. Will do.

avatar image jimbobuk · Dec 18, 2009 at 01:34 AM 0
Share

asked unity about it. It will come along with 2.6 changes to Unity iPhone. No comments on when that can be expected.

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

1 Person is following this question.

avatar image

Related Questions

really slow editing script parameters in unity editor (iphone) 1 Answer

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

Git and Unity not working correctly: missing components, textures, materials, etc. 2 Answers

Unity iPhone is crashing whilst running my game - how to debug? 2 Answers

Cross-domain policy for specific folder/URL 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