Hell: /home/user1/chmod -R +rwx .. . Desktop

hometoast hometoast at gmail.com
Tue Nov 22 12:38:04 UTC 2005


really, if its in a home dir, you shouldnt need to worry about specifics too
much (at least looking at my home dir).
 chmod everything down to something like 744(rwxr--r--). then all regular
files to 644. Start with the least usable permissions. 744 should work ok
for a single user.
 something like this might help:
*$ find . -type d -exec chmod 700 {} \; # all directories*
*$ find . -type f -exec chmod 600{} \; #all regular files*
 then just wait for some (if any) problems with other programs trying to
access your $HOME.

 On 11/21/05, Brant Fitzsimmons <brant at bfcomputerconsulting.com> wrote:
>
> Wim Bertels wrote:
>
> >Hi,
> >
> >does anyone now an undo for:
> >"chmod -R +rwx .." as root-user in some home dir.
> >because now everyting has rwx from the / up (the -R in combination
> >with ..)
> >it's an ext3 filesystem, so maybe there something possible with the
> >journaling?
> >
> >
> >
>
> You're not going to like the answer, but msec would be the perfect
> solution for this. The problem is that right now it doesn't exist for
> Ubuntu.
>
> msec is a utility created by Mandriva Linux. Depending on the security
> level chosen msec will (among other security related tasks) adjust file
> permissions and owners for the entire machine on an hourly basis.
> Someone on the Ubuntu hardened list mentioned a desire to port it to
> Ubuntu and I think it's a very good idea.
>
> When properly implemented it can add more security that would not
> otherwise be there, and when improperly implemented it can cause great
> confusion. If you don't know it's running you will find yourself
> adjusting your permissions every hour and wondering why you have to do so.
>
> http://www.brunolinux.com/07-Security/Mandriva_Security_Settings.html
>
> --
> Brant Fitzsimmons
> brant at bfcomputerconsulting.com
> -------------------------------------------------------------------
> "Strange times are these in which we live when the old and the
> young are taught falsehoods in the schools of learning. And the one
> man that dares to tell the truth is called at once a lunatic and
> a fool."
> -Plato
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20051122/2a577762/attachment.html>


More information about the ubuntu-users mailing list