FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 04-21-2008, 02:33 AM
"Owen Townend"
 
Default What are proper permissions for home directory?

On 21/04/2008, Dylan Garrett <dylan.garrett@gmail.com> wrote:
So apparently some script I ran decided that it would be ok to modify the permissions of my home directory. I now get an occasional "unsafe permissions" warning referring to config files in my home directory when I run certain apps such as gpg or when I log in through gdm. What should the permissions of the files in my home directory be?


Hey,
**The default is 755 though it is common to use 750*for a little privacy.
**IIRC the warning displays if you have the write bit set for anyone but you.

cheers,
Owen.
 
Old 04-21-2008, 03:22 AM
Lee Glidewell
 
Default What are proper permissions for home directory?

On Sunday 20 April 2008 07:33:33 pm Owen Townend wrote:
> On 21/04/2008, Dylan Garrett <dylan.garrett@gmail.com> wrote:
> >What should the permissions of the files in my home directory be?
> Hey,
> The default is 755 though it is common to use 750 for a little privacy.
> IIRC the warning displays if you have the write bit set for anyone but
> you.
This is true. The only question I have is whether the script modified the
permissions recursively, in which case the warnings would be explained. Many
of the hidden config files in the user's home root are supposed to be 644 or
600. In some cases, wrong permissions on those files can all but brick the
account.



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 04-21-2008, 10:34 AM
"Dylan Garrett"
 
Default What are proper permissions for home directory?

On Sun, Apr 20, 2008 at 11:22 PM, Lee Glidewell <lee.glidewell@gmail.com> wrote:

On Sunday 20 April 2008 07:33:33 pm Owen Townend wrote:

> On 21/04/2008, Dylan Garrett <dylan.garrett@gmail.com> wrote:

> >What should the permissions of the files in my home directory be?

> Hey,

> * The default is 755 though it is common to use 750 for a little privacy.

> * IIRC the warning displays if you have the write bit set for anyone but

> you.

This is true. The only question I have is whether the script modified the

permissions recursively, in which case the warnings would be explained. Many

of the hidden config files in the user's home root are supposed to be 644 or

600. In some cases, wrong permissions on those files can all but brick the

account.

The thing is, I'm not actually sure what happened. I guess I'll try not
to mess with permissions too much since everything is at least working.
 

Thread Tools




All times are GMT. The time now is 01:19 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org