Problems with home permissions

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

Problems with home permissions

Postby anandamide on Sat Mar 23, 2013 2:39 pm

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?
anandamide
Level 1
Level 1
 
Posts: 4
Joined: Sat Mar 23, 2013 2:27 pm

Linux Mint is funded by ads and donations.
 

Re: Problems with home permissions

Postby Flemur on Sat Mar 23, 2013 3:00 pm

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.
Mint 17/Xfce/fluxbox/jackd no pulseaudio
User avatar
Flemur
Level 6
Level 6
 
Posts: 1099
Joined: Mon Aug 20, 2012 9:41 pm

Re: Problems with home permissions

Postby anandamide on Sun Mar 24, 2013 4:16 am

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).
anandamide
Level 1
Level 1
 
Posts: 4
Joined: Sat Mar 23, 2013 2:27 pm

Re: Problems with home permissions

Postby anandamide on Sun Mar 24, 2013 6:54 am

Hold off, it's NTFS that's the problem. Ah well, I'll reformat.

*sigh*

...also, how do I mark this 'solved'?
anandamide
Level 1
Level 1
 
Posts: 4
Joined: Sat Mar 23, 2013 2:27 pm

Re: Problems with home permissions

Postby Pierre on Mon Mar 25, 2013 6:35 am

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


edit the title of the 1st post.
Image
User avatar
Pierre
Level 7
Level 7
 
Posts: 1820
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.


Return to Newbie Questions

Who is online

Users browsing this forum: all41, Bing [Bot] and 28 guests