Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] AccessControlException for .gitconfig file

On Fri, Oct 16, 2015 at 11:23 PM, Matt C <jgitquestion@xxxxxxxxx> wrote:
Hello,

I am trying to find a solution to an AccessControlException with the .gitconfig, .gitignore, and excludesfile. I do not want to give the JVM read rights to any of these files, but it seems like JGit requires it. I see that the code already handles the case where these files do not exist, but not the case where the files exist and JGit doesn't have read access to them.

why don't you want to give the JVM read rights for these files ?
 
I have come up with a simple solution that catches these AccessControlExceptions and handles them the same way that it does when the file does not exist.

Is anyone familiar with a better workaround for this issue? and is this a feasible change that could be integrated into JGit, I really do not want to fork?

Thanks for your time,
Matt

_______________________________________________
jgit-dev mailing list
jgit-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jgit-dev


Back to the top