I'm troubleshooting trying to fix a known typo in a driver. I've found 1/2 a dozen tutorials, nothing is working. I've got a bunch of beginner guides open for the terminal commands, bash, etc. I keep running in to permission errors. I've been trying root / sudo/ chown, yada yada. Every time I think I'm making progress I end up nowhere.
So, I had an idea. But, I don't want to blow up my install if it's a bad one.
Part of what I've been playing with is running the .sh w/ --noexec --keep to extract it in to ~/tmp$. Then I need to mod one letter in one file and it's supposed to work. I've tried everything I can think of and everything in the tutorials; none of it works. I keep running in to permission errors when I'm in sudo. And when I'm in root and open the file in gedit there's nothing in it.
I didn't check the contents of~/tmp$ before I started this; so I have no idea what "belongs" there and what is stuff I've extracted messing with this.
Is it like doze? Can I just blow everything out of temp and anything that is needed will write itself back? I'm thinking that maybe part of the problem is that when I try new methods of fixing it that either the files are not being over written with each new extraction attempt or there's some kind of corruption that is causing the permissions to become "stuck".
And just for giggles (since I'm just about hard up enough to try it) what happens if I sudo chown <username>.<groupname> ~/tmp$ and change it to me.me? Will I blow up my install? I just need it long enough to get this stupid driver fixed and I can reset it to root.root.
I'm thinking (maybe I'm wrong) that if I change the permissions of the parent directory that all of the child objects will inherit those permissions and I can finally get the access I need to fix this stupid thing!