Trying to start a coding bootcamp, and one of the prerequisites is to set up a static web page to netlify. I have been trying for a couple of days now and all I get when I try to run the command git add . is a bunch of permission denied alerts.
Hi @Pixelated-Erik! Welcome to the community forum!
We are happy you are here! You are more likely to get a useful response if you are explicit about what your project entails, giving a few more details might help someone give you a nudge in the right directions.
- Describe the action you want to perform and your expectation of the outcome.
- List the specific steps taken and tools used to complete those steps.
- What were the specific errors received after attempting the task?
- What did you try to do to fix it?
Hi When i am trying to add the files i am getting this error may i know why.
C:\Users\shiva>git add -A
warning: could not open directory ‘AppData/Local/Application Data/’: Permission denied
warning: could not open directory ‘AppData/Local/ElevatedDiagnostics/’: Permission denied
warning: could not open directory ‘AppData/Local/History/’: Permission denied
warning: could not open directory ‘AppData/Local/Microsoft/Windows/INetCache/Content.IE5/’: Permission denied
warning: could not open directory ‘AppData/Local/Microsoft/Windows/INetCache/Low/Content.IE5/’: Permission denied
warning: could not open directory ‘AppData/Local/Microsoft/Windows/Temporary Internet Files/’: Permission denied
warning: could not open directory ‘AppData/Local/Temporary Internet Files/’: Permission denied
warning: could not open directory ‘Application Data/’: Permission denied
warning: could not open directory ‘Cookies/’: Permission denied
warning: could not open directory ‘Documents/My Music/’: Permission denied
warning: could not open directory ‘Documents/My Pictures/’: Permission denied
warning: could not open directory ‘Documents/My Videos/’: Permission denied
warning: could not open directory ‘Local Settings/’: Permission denied
warning: could not open directory ‘My Documents/’: Permission denied
warning: could not open directory ‘NetHood/’: Permission denied
warning: could not open directory ‘PrintHood/’: Permission denied
warning: could not open directory ‘Recent/’: Permission denied
warning: could not open directory ‘SendTo/’: Permission denied
warning: could not open directory ‘Start Menu/’: Permission denied
warning: could not open directory ‘Templates/’: Permission denied
warning: LF will be replaced by CRLF in AppData/Local/Adobe/Acrobat/DC/AdobeSysFnt20.lst.
The file will have its original line endings in your working directory
error: open(“AppData/Local/Comms/UnistoreDB/USS.jtx”): Permission denied
error: unable to index file ‘AppData/Local/Comms/UnistoreDB/USS.jtx’
fatal: adding files failed
C:\Users\shiva>git add -A
warning: could not open directory ‘AppData/Local/Application Data/’: Permission denied
warning: could not open directory ‘AppData/Local/ElevatedDiagnostics/’: Permission denied
warning: could not open directory ‘AppData/Local/History/’: Permission denied
warning: could not open directory ‘AppData/Local/Microsoft/Windows/INetCache/Content.IE5/’: Permission denied
warning: could not open directory ‘AppData/Local/Microsoft/Windows/INetCache/Low/Content.IE5/’: Permission denied
warning: could not open directory ‘AppData/Local/Microsoft/Windows/Temporary Internet Files/’: Permission denied
warning: could not open directory ‘AppData/Local/Temporary Internet Files/’: Permission denied
warning: could not open directory ‘Application Data/’: Permission denied
warning: could not open directory ‘Cookies/’: Permission denied
warning: could not open directory ‘Documents/My Music/’: Permission denied
warning: could not open directory ‘Documents/My Pictures/’: Permission denied
warning: could not open directory ‘Documents/My Videos/’: Permission denied
warning: could not open directory ‘Local Settings/’: Permission denied
warning: could not open directory ‘My Documents/’: Permission denied
warning: could not open directory ‘NetHood/’: Permission denied
warning: could not open directory ‘PrintHood/’: Permission denied
warning: could not open directory ‘Recent/’: Permission denied
warning: could not open directory ‘SendTo/’: Permission denied
warning: could not open directory ‘Start Menu/’: Permission denied
warning: could not open directory ‘Templates/’: Permission denied
warning: LF will be replaced by CRLF in AppData/Local/Adobe/Acrobat/DC/AdobeSysFnt20.lst.
The file will have its original line endings in your working directory
error: open(“AppData/Local/Comms/UnistoreDB/USS.jtx”): Permission denied
error: unable to index file ‘AppData/Local/Comms/UnistoreDB/USS.jtx’
fatal: adding files failed