| EGit checkout changes file permissions [message #730309] |
Wed, 28 September 2011 02:58  |
sanpedro666 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 03:10   |
sanpedro666 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:
- EGit checkout of branch "A" ---> file permission issue occurs
- EGit checkout of branch "B" ---> file permission issue occurs
- EGit checkout of branch "A" ---> file permission issue occurs
- 'git checkout -f A" ---> no issue
- EGit checkout of branch "B" ---> file permission issue occurs
- EGit checkout of branch "A" ---> no issue
[Updated on: Wed, 28 September 2011 03:11] Report message to a moderator
|
|
|
| Re: EGit checkout changes file permissions [message #730683 is a reply to message #730314] |
Wed, 28 September 2011 16:43  |
Robin Rosenberg Messages: 269 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
|
|
|
Powered by
FUDForum. Page generated in 0.02467 seconds