$HOME/ permissions
Guillermo Garron
guillermo.fedora at gmail.com
Fri Nov 17 11:56:14 UTC 2006
On 11/16/06, Stephen R Laniel <steve at laniels.org> wrote:
> On Thu, Nov 16, 2006 at 07:04:49PM -0400, Guillermo Garron wrote:
> > so using the alt+ctrl+F1 I changed the permissions again to
> >
> > $sudo chmod 755 $HOME/ -R
> >
> > now all is working but i am wondering if my system is vulnerable
> > because of this.
> > will i have to reinstall all the ubuntu again?
>
> No, you will not have to reinstall all of Ubuntu. I think
> all you wanted to do was
>
> chown 700 $HOME
>
> which you don't need to sudo, because you're changing
> permissions on a directory that you own.
>
> Yes, your permissions are probably too lax now -- 755 is too
> high. It's impossible to guess what the permissions on your
> files ought to be, but it's a safe bet that the following
> commands will do what you want:
>
> * make directories only viewable by you:
> find $HOME -type d -exec chmod 700 '{}' \;
>
> * make regular files only viewable and editable by you:
> find $HOME -type f -exec chmod 600 '{}' \;
>
> That should do the trick.
thank you Stephen!
that really do a "trick" i am using linux for and only linux for 1 and
a half year, not counting one year in ' 97 and always find new
"tricks" it is amazing all the possibilities we have.
thanks again for teaching me another one!
Guillermo.
>
> --
> Stephen R. Laniel
> steve at laniels.org
> Cell: +(617) 308-5571
> http://laniels.org/
> PGP key: http://laniels.org/slaniel.key
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQFFXPDlHa1lzVGot+YRAq26AJ0TMN+JqmTAJ/6y9qbQ20WdwdfNMQCfYriq
> g0XjJVtU3OHfFlVsK/6Vu08=
> =HInj
> -----END PGP SIGNATURE-----
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
>
--
Guillermo Garron
"Linux IS user friendly... It's just selective about who its friends are."
(Using FC5, CentOS4.4 and Ubuntu 6.06)
More information about the ubuntu-users
mailing list