I'm very very new at Linux.
I've installed 12.04 Precise Pangolin on my microsover by following this guide: http://www.havetheknowhow.com/Install-Ubuntu.html
My first attempt at installing 12.04 went perfect - I could follow every step to completion and the environment worked fine. I'd installed openssh for putty access, installed VNC for remote GUI work and installed samba/webmin for administration of shares etc.
Everything worked fine.
Then I stupidly managed to delete some things I shouldn't have but wasn't too concerned - I'd just do it all over again.
However, I've hit a snag. I've followed the guides steps word for word but suddenly I can no longer create or even access the /home/chris folder within putty.
I am trying to create a folder in /home/chris so I can store cron scripts there.
When I type I get:
chris@ubuntu:~$ cd /home/chris
When I type I get:
From there if I type I get:
If I type I get:
chris@ubuntu:/home$ cd /chris
-bash: cd: /chris: No such file or directory
Note: chris in the second line above is in blue.
Weirdly if I try to make a directory called chris I get:
When I try to view permissions of "chris" by typing I get:
chris@ubuntu:/home$ mkdir chris
mkdir: cannot create directory `chris': File exists
If I type and log into root I am able to traverse the home folder fine.
chris@ubuntu:~$ ls -l /home/chris
I am sure I didn't have to log into root on putty to create folders in my first successful install.
chris@ubuntu:~$ sudo -i
[sudo] password for chris:
root@ubuntu:~# cd /home/chris
Note: I have not encrypted my home folder. I've tried starting from scratch three times now and each time I have the same issue.
I'm sorry if I'm not providing sufficient or the right type of info. I've tried troubleshooting this myself and I suspect I have really cocked up the permissions by trying various chmod/chown commands.
I just can't figure out whether if the problem is with chris@ubuntu OR the /home/chris folder itself.
Any assistance would be greatly appreciated.