Updated How to diagnose IO errors (markdown)

This commit is contained in:
Duke 2017-01-20 12:03:35 +01:00
parent b1b6af6e33
commit 41cbcef69d

View File

@ -14,7 +14,7 @@ Just don't shy away from a little challenge.
There are quite some data in here but worry not. Just scroll to the bottom and look out for _I/O errors_.
It may contain useful information about why it's happening.
Even if you can't make heads or tails about the lines, it will be helpful for the others who will try to help.
Even if you can't make heads or tails of the lines, it will be helpful for the others who will try to help.
## Next step
There are two things that can cause (most likely) IO errors and stopped downloads.
@ -24,7 +24,24 @@ There are two things that can cause (most likely) IO errors and stopped download
### Permission problems [Windows]
* If you have the default Download location set up, such as the `C:\Users\YOURUSERNAME\Downloads\` folder, your permissions should be fine.
* If you have a custom Download location, make sure you have permissions to read and write there. From Windows 7, permissions has changed. Nowadays, you don't have full write permission by default to your entire C drive for example, you can only write under your ``C:\Users\YOURUSERNAME` by default. You can, of course, change this - but I don't really recommend it. If you must make a new folder on C, I would make a simple `C:\a` folder, change permissions of that, and put everything I need inside. That way I have no mess, the permissions are alright, and so on.
* If you used a drive on an other PC, Windows remembers the permissions. For example, if you used an external hard drive, or a drive with an other Windows, or you re-installed your system - you might not have proper permissions anymore.
* If you have a custom Download location, make sure you have permissions to read and write there. From Windows 7, permissions have changed. Nowadays, you don't have full write permission by default to your entire C drive, for example, you can only write under your ``C:\Users\YOURUSERNAME` by default. You can, of course, change this - but I don't really recommend it. If you must make a new folder on C, I would make a simple `C:\a` folder, change permissions of that, and put everything I need inside. That way I have no mess, the permissions are alright, and so on.
* If you used a drive on some other PC, Windows remembers the permissions. For example, if you used an external hard drive or a drive with another Windows, or you re-installed your system - you might not have proper permissions anymore.
[How to manage permissions on Windows](https://technet.microsoft.com/en-us/library/cc754344(v=ws.11).aspx)
[How to manage permissions on Windows](https://technet.microsoft.com/en-us/library/cc754344(v=ws.11).aspx)
### Permission problems [Linux]
If you are a **simple user**, and you have your Download folder under your `/home` - which is the default behaviour - simply use `chown` to fix your permissions.
1. Open Terminal
2. Type: `sudo chown -R USERNAME:USERNAME /home/USERNAME`
Of course, USERNAME is your username.
If you don't know what's your username, run the command `whoami`, it will tell you.
That's it, ty to download now, things should be working fine.
If you are a GNU/**advanced user**, check if you belong to the same group as the owner. If the group has RW permissions. Use chmod, chown to fix the permissions.
### Hardware problems [Windows]
Check my [[other Wiki article|How to diagnose IO error, BSOD, crash (Windows)]]. See HDD section.