Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » EGit checkout changes file permissions
EGit checkout changes file permissions [message #730309] Wed, 28 September 2011 06:58 Go to next message
sanpedro666 is currently offline sanpedro666Friend
Messages: 2
Registered: September 2011
Junior Member
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 07:10 Go to previous messageGo to next message
sanpedro666 is currently offline sanpedro666Friend
Messages: 2
Registered: September 2011
Junior Member
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 07:11]

Report message to a moderator

Re: EGit checkout changes file permissions [message #730683 is a reply to message #730314] Wed, 28 September 2011 20:43 Go to previous message
Robin Rosenberg is currently offline Robin RosenbergFriend
Messages: 332
Registered: July 2009
Senior Member
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: Sat Apr 20 03:21:17 GMT 2024

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

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

Back to the top