Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » EGit checkout changes file permissions
EGit checkout changes file permissions [message #730309] Wed, 28 September 2011 02:58 Go to next message
Eclipse UserFriend
Hi,

I am using Eclipse EGit 1.1.0.201109151100-r with Eclipse Indigo on Kubuntu 11.04.

Everything was fine but suddenly an EGit checkout changes the file permissions. After switching a branch via EGit I have a lot of staged files.

'git diff --cached' gives:
diff --git FILENAME_REMOVED
old mode 100755
new mode 100644


Doing a hard reset of the working space with EGit does not solve the problem with changed permissions (which is expected not to work I guess).

This behaviour is independent of the core.filemode setting for git.

When I do a checkout at the shell via 'git checkout -f master' this problem does not occur.

Is this a bug? Can someone help with this issue?

Best regards
Re: EGit checkout changes file permissions [message #730314 is a reply to message #730309] Wed, 28 September 2011 03:10 Go to previous messageGo to next message
Eclipse UserFriend
Here is an additional observation:

The problem with file permissions does not occur when checking out the branch which has been checked out via shell the last time.

Example:


  1. EGit checkout of branch "A" ---> file permission issue occurs
  2. EGit checkout of branch "B" ---> file permission issue occurs
  3. EGit checkout of branch "A" ---> file permission issue occurs
  4. 'git checkout -f A" ---> no issue
  5. EGit checkout of branch "B" ---> file permission issue occurs
  6. EGit checkout of branch "A" ---> no issue


[Updated on: Wed, 28 September 2011 03:11] by Moderator

Re: EGit checkout changes file permissions [message #730683 is a reply to message #730314] Wed, 28 September 2011 16:43 Go to previous message
Eclipse UserFriend
sanpedro666 skrev 2011-09-28 09.10:
> Here is an additional observation:
>
> The problem with file permissions does not occur when checking out the
> branch which has been checked out via shell the last time.
>
Pedro,

Please open a bug at bugs.eclipse.org.

-- robin
Previous Topic:Why are all local branches pushed by default?
Next Topic:How to limit users in getting access to the entire Repository
Goto Forum:
  


Current Time: Wed Jul 23 01:25:42 EDT 2025

Powered by FUDForum. Page generated in 0.06064 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top