Hi everyone.
I am a newbie in regards to Linux and especially git. I worked with SVN
for some time, but mainly as a client.
Never the less, i wanted to set up some form of code repository for my
workplace and git seems to be a good fit.
So i installed git on our local development server here in our office. I
am the only developer at the time, so i can do as i please. :-)
The Server is a debian machine, essentially only running a web server (I
develop web apps), which webroot directory is also shared via samba with
the otherwise all windows network. The first Version of git i got from
the apt was an old one and after some struggling, i managed to update it
to 1.6.0.3.g9f8f13. I also created my repository and installed EGit in
my eclipse 3.4.
In Eclipse, i linked to the samba Folder containing the code.
When i try to commit changes via the command line, everything works fine
(well, except for me not being able to use my keyboard right for
entering the commit message, but thats probably not important because i
want to use EGit anyways).
Eclipse recognizes the repository and also displays changes i make. When
trying to commit, however, i get a permission denied error.
So, this is basically where i am stuck. What can be the problem and what
would be a solution? I assume, that i might have something to do with
Linux users and privileges, but i am not yet versed enough to identify
the problem on my own.
Please keep in mind, that i am a complete beginner with these topics
when answering.
I would appreciate your help.
best regards
Bastian Flinspach
onsdag 03 december 2008 12:08:11 skrev Bastian Flinspach:
Hi Bastian,
When i try to commit changes via the command line, everything works fine
(well, except for me not being able to use my keyboard right for
entering the commit message, but thats probably not important because i
want to use EGit anyways).
Eclipse recognizes the repository and also displays changes i make. When
trying to commit, however, i get a permission denied error.
So, this is basically where i am stuck. What can be the problem and what
would be a solution? I assume, that i might have something to do with
Linux users and privileges, but i am not yet versed enough to identify
the problem on my own.
If Git does not have permission problems, neither should EGit, I think, In the
workspace there is a file called .metadata/.log that you can inspect. See
if you can find anything interesting, i.e. a seemingly relevant stack trace or
other error message. The file can be quite large so try to cut it down.
Please keep in mind, that i am a complete beginner with these topics
when answering.
We all started at the beginning.
-- robin
onsdag 03 december 2008 20:21:57 skrev Robin Rosenberg:
onsdag 03 december 2008 12:08:11 skrev Bastian Flinspach:
Hi Bastian,
quoted
When i try to commit changes via the command line, everything works fine
(well, except for me not being able to use my keyboard right for
entering the commit message, but thats probably not important because i
want to use EGit anyways).
Eclipse recognizes the repository and also displays changes i make. When
trying to commit, however, i get a permission denied error.
So, this is basically where i am stuck. What can be the problem and what
would be a solution? I assume, that i might have something to do with
Linux users and privileges, but i am not yet versed enough to identify
the problem on my own.
If Git does not have permission problems, neither should EGit, I think, In the
workspace there is a file called .metadata/.log that you can inspect. See
if you can find anything interesting, i.e. a seemingly relevant stack trace or
other error message. The file can be quite large so try to cut it down.
Starting eclipse from a shell, may yield even more information.
-- robin