Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 3953  / 3 Years ago, sat, october 30, 2021, 8:20:50

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:~$

More From » kubuntu

 Answers
7

Somehow your home directory is owned by user shelly. If you have sudo privileges, you can change it back:



sudo chown -R dotancohen:dotancohen /home/dotancohen

[#37074] Sunday, October 31, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
allally

Total Points: 487
Total Questions: 106
Total Answers: 110

Location: Laos
Member since Sun, Jul 3, 2022
2 Years ago
;