On Fri, 2009-07-31 at 09:49 -0500, Robert Citek wrote:
> On Fri, Jul 31, 2009 at 9:35 AM, Theresa Kehoe<[email protected]> wrote:
> > I admit I've never really looked at this before, as no one else uses my
> > computer.  But how long has this been default behavior in Ubuntu?
> 
> Dunno.  And I'm not too concerned about my top-level folder so I
> haven't paid attention to this, either.
> 
> > How can the settings be tweaked so that /home/[user] is kept private to
> > [user], so that no other users can browse /home/[user] directory?
> 
> chmod will tweak that for an existing user:
> 
> $ sudo chmod go-rwx /home/[user]

Or, use Nautilus and set the permissions on your own /home directory so
that others have no access.  Only glitch with that was, when I tested it
on my own /home directory, after rebooting, I got this error message:

"User's $HOME/.dmrc file is being ignored. This prevents the default
session and language from being saved. File should be owned by user and
have 644 permissions. User's $HOME directory must be owned by user and
not writable by other users."

Umm, that's what I thought I was changing via Nautilus - great!

Fix was:

chmod 644 .dmrc
chmod 700 ~

And after that, when I tried setting properties of test users /home via
Nautilus, everything worked correctly.  Still not sure why I got the
"oops" in the first place (older migrated account, not newly-created
one).  But it seems to work for all accounts on the system, meaning it
would be a whole lot easier to teach a newbie how to use a GUI tool to
fix permissions rather than running commands via the terminal and
editing system config files.

But it still doesn't solve the "how to set it up this way from the
beginning" question.

Theresa




--~--~---------~--~----~------------~-------~--~----~
Central West End Linux Users Group (via Google Groups)
Main page: http://www.cwelug.org
To post: [email protected]
To subscribe: [email protected]
To unsubscribe: [email protected]
More options: http://groups.google.com/group/cwelug
-~----------~----~----~----~------~----~------~--~---

Reply via email to