public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* about permissions
@  tony seth
   ` Luke Yelavich
   ` Laura Eaves
  0 siblings, 2 replies; 3+ messages in thread
From: tony seth @  UTC (permalink / raw)
  To: speakup

Hi all:  I have made a bit of a mess of my system, and need a bit of 
help to fix it.  I tried recreating a user, and although that went 
fine, when I tried to run a program in X, the X server shut down due to 
permissions not being correct.  I tried correcting this by chmod 666 on 
the home directory, but now can't log in with my home directory. Can 
anyone tell me what the correct permissions on the /home directory 
should be, and also those on a directory of a user within that 
directory?  Thanks much!
Cjeerep!

-- 
Email services by FreedomBox.  Surf the Net at the sound of your voice. 
www.freedombox.info


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: about permissions
   about permissions tony seth
@  ` Luke Yelavich
   ` Laura Eaves
  1 sibling, 0 replies; 3+ messages in thread
From: Luke Yelavich @  UTC (permalink / raw)
  To: speakup

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Jun 01, 2005 at 01:30:16PM EST, tony seth wrote:
> Hi all:  I have made a bit of a mess of my system, and need a bit of 
> help to fix it.  I tried recreating a user, and although that went 
> fine, when I tried to run a program in X, the X server shut down due to 
> permissions not being correct.  I tried correcting this by chmod 666 on 
> the home directory, but now can't log in with my home directory. Can 
> anyone tell me what the correct permissions on the /home directory 
> should be, and also those on a directory of a user within that 
> directory?  Thanks much!

The /home directory should be 755, and at least on my system, it is 
owned by the root user, and the root group. The user directory can also 
be 755, and owned by your username, and your group name, or the users 
group.

I suggest reading the chmod and chown man pages to learn a bit more 
about permissions. The permissions you set on your home directory only 
allow people to read from, and write to that directory, but they can't 
change to that directory.

Hope this helps.
- -- 
Luke Yelavich
GPG key: 0xD06320CE 
	 (http://www.themuso.com/themuso-gpg-key.txt)
Email & MSN: themuso@themuso.com
ICQ: 18444344
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCnTnFjVefwtBjIM4RAg7AAJ9mb491i+uQ4bSun20/SiyCbCMaBACbB8iw
8iNepRIS65mN58O/VO9kmfw=
=LOwv
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: about permissions
   about permissions tony seth
   ` Luke Yelavich
@  ` Laura Eaves
  1 sibling, 0 replies; 3+ messages in thread
From: Laura Eaves @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

A directory should havae execute permission for everybody as that grants the 
ability to cd into that directory.
Also, you made the directory writable to everyone, which isn't a good idea.
In general, 755 or 711 is a good setting for a home directory.
I think the lack of execute permission is what tripped you up.  Baasically 
nothing will work if no one can cd or traverse through that directory.
HTH
--le


----- Original Message ----- 
From: "tony seth" <lp800@myfreedombox.com>
To: <speakup@braille.uwo.ca>
Sent: Tuesday, May 31, 2005 11:30 PM
Subject: about permissions


Hi all:  I have made a bit of a mess of my system, and need a bit of
help to fix it.  I tried recreating a user, and although that went
fine, when I tried to run a program in X, the X server shut down due to
permissions not being correct.  I tried correcting this by chmod 666 on
the home directory, but now can't log in with my home directory. Can
anyone tell me what the correct permissions on the /home directory
should be, and also those on a directory of a user within that
directory?  Thanks much!
Cjeerep!

-- 
Email services by FreedomBox.  Surf the Net at the sound of your voice.
www.freedombox.info

_______________________________________________
Speakup mailing list
Speakup@braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup 



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 about permissions tony seth
 ` Luke Yelavich
 ` Laura Eaves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).