Problems with home permissions

Quick to answer questions about finding your way around Linux Mint as a new user.
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
anandamide

Problems with home permissions

Post 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?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Flemur
Level 20
Level 20
Posts: 10097
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Problems with home permissions

Post 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.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
anandamide

Re: Problems with home permissions

Post 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).
anandamide

Re: Problems with home permissions

Post by anandamide »

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

*sigh*

...also, how do I mark this 'solved'?
User avatar
Pierre
Level 21
Level 21
Posts: 13182
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Problems with home permissions

Post by Pierre »

.also, how do I mark this 'solved'?
edit the title of the 1st post.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.
Locked

Return to “Beginner Questions”