I am running Ubuntu 12.04 and having various problems. I have traced it back to the fact that my user's home directory (/home/user) is owned by root.
The /home directory is actually mounted on another drive, but I can see that in fstab I am mounting only /home and not /home/user:
UUID=DC56D19E56DX3233 /home ntfs user,exec 0 2
The chown command below does not seem to work:
sudo chown -R user /home/user
This will run without errors, however it does not actually change ownership of the direcory. Here is the output of ls -ld after running the command:
drwxrwxrwx 1 root root 20480 Sep 25 00:07 /home/user
This is the same as it was previously.
/etc/fstaband/or the output of themountcommand for your home partition (e.g.mount | grep 'home'? – steeldriver Sep 27 '13 at 01:58mount | grep home-> /dev/sdb1 on /home type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096) – DJElbow Sep 27 '13 at 02:15cat /etc/fstab-> UUID=DC56D19E56DX3233 /home ntfs user,exec 0 2 – DJElbow Sep 27 '13 at 02:16Sorry but the Markdown help is not sufficiently clear as to how to insert a newline.
gabe@server:/data$ ls -l RepairingGRUB.pdf-rwxrwxrwx 1 gabe gabe 76485 Mar 22 03:04 RepairingGRUB.pdfgabe@server:/data$ sudo chown -v root:root RepairingGRUB.pdfchanged ownership of ‘RepairingGRUB.pdf’ from gabe:gabe to root:rootgabe@server:/data$ ls -l RepairingGRUB.pdf-rwxrwxrwx 1 gabe gabe 76485 Mar 22 03:04 RepairingGRUB.pdf]– flurbius Apr 01 '16 at 11:02