-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Git 2.5.2.2 leaves mtab file after uninstall #405
Comments
OS is Windows 7 64 bit. |
Should be deleted: git-for-windows/build-extra@bf980fd |
Even worse: when I install Git for WIndows 2.5.2(2), there is no |
See git-for-windows/build-extra@bf980fd#diff-a34c467933f9f6091a5f960fd70e16deR164 The file is being generated dynamically at some point by As for your user question: Yes it is safe to delete and should be by the uninstaller. Maybe because it is marked as System File it is somehow checked when uninstalling by some sort of UAC? |
@dscho, it's not |
Well I can confirm that the |
When working on #355 I've watched the same thing happen. I think it was already present in git-for-windows/build-extra@0fd86a3. |
Hmm. @nalla Were the |
Ah no, it is the |
Ah right! because |
I think we have to check every script there - just in case - for other unset variables. |
See |
Right, I just did.
No, |
Since we do not run the post-install scripts in a full login shell anymore, `/etc/profile` has no chance of defining the `SYSCONFDIR` before `03-tab.post` wants to use it. So let's just hard-code it in `post-install.bat`. This fixes git-for-windows/git#405 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
|
Woot! |
Steps to reproduce:
mtab
file is not deleted. Attempt to delete it shows: "The file 'mtab' is a system file. If you remove it, Windows or another program may no longer work correctly.".Is it safe to delete it? Can uninstaller do it?
The text was updated successfully, but these errors were encountered: