Page 1 of 1

Problems with home permissions

Posted: Sat Mar 23, 2013 2:39 pm
by anandamide
Hey guys, I finally got around to installing Mint after my Ubuntu installation broke down about a year ago.

I decided to create a separate partition for /home, which was straightforward. However now I find *my* home directory is owned by root and in root's group, which is obviously very far from ideal (and also causes Mint to complain about permissions every time I log on).

I've tried changing ownership via sudo chown, etc; when that didn't work I did gksu nemo and tried via the GUI but to no avail.

Any ideas?

Re: Problems with home permissions

Posted: Sat Mar 23, 2013 3:00 pm
by Flemur
I've tried changing ownership via sudo chown, etc; when that didn't work I did gksu nemo and tried via the GUI but to no avail.
What happened?

Code: Select all

$ su
# chown -R username /home 
# chgrp -R usergroup /home
Replace username and usergroup with correct values.

Re: Problems with home permissions

Posted: Sun Mar 24, 2013 4:16 am
by anandamide
Well I originally did that via sudo, but su doesn't work either.

There's no error output. Here's the terminal output from my last attempt:

Code: Select all

phil@dendrite ~ $ su
Password: 
dendrite phil # chown -R phil /home/phil
dendrite phil # chgrp -R phil /home/phil
dendrite phil # su phil
phil@dendrite ~ $ ls -l /home/
total 4
drwxrwxrwx 1 root root 4096 Mar 24 08:10 phil
phil@dendrite ~ $ ls -l
total 0
drwxrwxrwx 1 root root 0 Mar 23 18:09 Desktop
drwxrwxrwx 1 root root 0 Mar 23 18:13 Documents
drwxrwxrwx 1 root root 0 Mar 23 18:59 Downloads
drwxrwxrwx 1 root root 0 Mar 23 18:09 Music
drwxrwxrwx 1 root root 0 Mar 23 18:09 Pictures
drwxrwxrwx 1 root root 0 Mar 23 18:09 Public
drwxrwxrwx 1 root root 0 Mar 23 18:09 Templates
drwxrwxrwx 1 root root 0 Mar 23 18:09 Videos

Possibly important
: my /home is ntfs (as opposed to /, which is ext4) as I want it to be visible to my windows partition. Could this be the reason? If so it's trivial to change it, but would rather it stayed as is (even tho ext4 for more awesome, obviously).

Re: Problems with home permissions

Posted: Sun Mar 24, 2013 6:54 am
by anandamide
Hold off, it's NTFS that's the problem. Ah well, I'll reformat.

*sigh*

...also, how do I mark this 'solved'?

Re: Problems with home permissions

Posted: Mon Mar 25, 2013 6:35 am
by Pierre
.also, how do I mark this 'solved'?
edit the title of the 1st post.