+ 1

Gitbash directory permission denied

Hello, I have installed git on my computer running on Windows this but the permission to most of my files are Always denied: Alice BOULAY@LAPTOP-GEPQ43NR MINGW64 ~ (master) $ git status warning: could not open directory 'Application Data/': Permission denied warning: could not open directory 'Cookies/': Permission denied warning: could not open directory 'Local Settings/': Permission denied warning: could not open directory 'Menu Démarrer/': Permission denied warning: could not open directory 'Mes documents/': Permission denied warning: could not open directory 'ModÚles/': Permission denied warning: could not open directory 'Recent/': Permission denied warning: could not open directory 'SendTo/': Permission denied warning: could not open directory 'Voisinage d'impression/': Permission denied warning: could not open directory 'Voisinage réseau/': Permission denied On branch master Untracked files: (use "git add <file>..." to include in what will be committed) .bash_history .gitconfig .idlerc/ .viminfo 3D Objects/ AppData/ Contacts/ Desktop/ Documents/ Downloads/ Favorites/ Links/ MicrosoftEdgeBackups/ Music/ NTUSER.DAT NTUSER.DAT{8ebe95f6-3dcb-11e8-a9d9-7cfe90913f50}.TxR.0.regtrans-ms NTUSER.DAT{8ebe95f6-3dcb-11e8-a9d9-7cfe90913f50}.TxR.1.regtrans-ms NTUSER.DAT{8ebe95f6-3dcb-11e8-a9d9-7cfe90913f50}.TxR.2.regtrans-ms NTUSER.DAT{8ebe95f6-3dcb-11e8-a9d9-7cfe90913f50}.TxR.blf NTUSER.DAT{8ebe95f7-3dcb-11e8-a9d9-7cfe90913f50}.TM.blf NTUSER.DAT{8ebe95f7-3dcb-11e8-a9d9-7cfe90913f50}.TMContainer00000000000000000001.regtrans-ms NTUSER.DAT{8ebe95f7-3dcb-11e8-a9d9-7cfe90913f50}.TMContainer00000000000000000002.regtrans-ms OneDrive/ Pictures/ Saved Games/ Searches/ Videos/ ntuser.dat.LOG1 ntuser.dat.LOG2 ntuser.ini test.txt nothin

13th Feb 2019, 6:20 AM
Eros boulay
Eros boulay - avatar
2 Answers
+ 1
It looks like the files git can't access are ones that the normal user can't access anyway. Are you running git from the top of your user directory? Normally you would make a project directory and run git from there, so git is only looking at the current directory down. You should have full access to everything in that directory and so should git.
13th Feb 2019, 8:58 AM
Jared Bird
Jared Bird - avatar
+ 1
*(what follows)nothing added to commit but untracked files present (use "git add" to track) I don't know how to let git access to my files Thanks for your time
13th Feb 2019, 6:23 AM
Eros boulay
Eros boulay - avatar