1834406 Members
2293 Online
110067 Solutions
New Discussion

permissions for /home

 
SOLVED
Go to solution
RedBack
Frequent Advisor

permissions for /home

The /home directory is currenly owned by a user. This users is no longer with the company. Who should be the owner of /home, what group should it be a part of and what should its permissions be?

Thanx.
5 REPLIES 5
Robert-Jan Goossens
Honored Contributor
Solution

Re: permissions for /home

Hi Mark

ux001:/# ls -lad /home
drwxr-xr-x 17 root root 1024 Apr 4 16:55 /home

Robert-Jan.
A. Clay Stephenson
Acclaimed Contributor

Re: permissions for /home

There is no "correct" answer here; however, yours is certainly wrong. I would tend to go with /home owned by root:root or root:bin. I would tend to set the permissions at 755 so that only root is allowed to create additional directories.

The various directories under /home should, of course, be owned by the individual user with group set to his primary group.
If it ain't broke, I can fix that.
Shannon Petry
Honored Contributor

Re: permissions for /home

Since root can create directories without a write bit on owner, I'd recommend you go

root:root and 555 for the Mode.

Users should own their own home dir only, looks like someone made a booboo one day here ;)

Regards,
Shannon
Microsoft. When do you want a virus today?
Fred Martin_1
Valued Contributor

Re: permissions for /home

This begs the question, how could this happen? We discovered once on a SunOS system that some restores from tape, if not properly done, would cause it. And, obviously, simply and error by an admin. I'm wondering if you figured out yours.
fmartin@applicatorssales.com
RedBack
Frequent Advisor

Re: permissions for /home

Fred,

Im not sure as it was done before I joined the company. I dont believe he had root access as he was a DBA. I guess I will never know.

Thanks to all who replied.