It seems to me that I have the proper permissions, so why can't I create directories in my $HOME directory?
dotancohen@neptune:~$ whoami
dotancohen
dotancohen@neptune:~$ pwd
/home/dotancohen
dotancohen@neptune:~$ ls -l .. | grep dotancohen
drwxr-xr-x 16 shelly shelly 4096 Jul 2 15:02 dotancohen
dotancohen@neptune:~$ mkdir test
mkdir: cannot create directory `test': Permission denied
dotancohen@neptune:~$
Somehow your home directory is owned by user
shelly
. If you have sudo privileges, you can change it back:Well obviously you don't own your own home directory but shelly does. You may only execute (or read execute; if you are in the same group as shelly is). Therefore you cannot create a directory. Sudo can though; so
sudo mkdir test
should work. You might want to reown this directory for your user dotancohen as superuser. See mapage chown for that.