16 responses

  1. Anders
    August 3, 2010

    Should it not be chmod -R 750 /root, or chmod -R o-rx /root

  2. Kura
    August 3, 2010

    Surely you mean the following:

    debian:~# chmod -R 750 /root
    debian:~# for i in /home/*; do echo chmod -R 750 $i;

    • admin
      August 4, 2010

      yes in the hurry it seems I put a wrong number :)

  3. bbartlomiej
    August 3, 2010

    Your chmods shoul be 750 not 755, because it wouldn’t change anything :)

  4. Debianero Rumbero
    August 3, 2010

    ‘I have no clear clue why the Debian development team has taken the decision to set such an insecure permissions by default,’

    I do believe that’s a heritage thing from umask=0022 times.

    I always change /etc/adduser.conf too (like you) AND umask settings.

    In your example debian:~# chmod -R 755 /root I think that’s a typo, isn’t?

    Maybe you mean debian:~# chmod -R 750 /root

    Same thing to your second example (755 instead 750).

    • admin
      August 4, 2010

      yes it’s a type thanks for noting it!

  5. tw
    August 4, 2010

    “for i in /home/*; do echo chmod -R 755 $i; done “

    I guess it should be chmod -R 700 in the script.

  6. anon
    August 9, 2010

    Old bug “/root is world readable”:

    • admin
      August 10, 2010

      Yes you’re right

  7. anon
    August 9, 2010

    I think it’s wrong to recursively change the ownerships on people’s files. You should only change the permissions on their home directory.

    • admin
      August 10, 2010

      Guess you’re right but yet, if only the users directory permissions are changed somebody could try to guess the user files and he will be able to read them if he is lucky. Thus it might be better that way sometimes.

      • anon
        August 10, 2010

        No it doesn’t work like that – try it.

  8. admin
    August 10, 2010

    Yep I just gave it a try, You’re right. the “-R” option is not necessary in the for loop. I’ve fixed that in the article.

    Thanks for noting it!

    Will be seeing you around,

    Wish you best!


  9. elektrische zigarette
    December 6, 2010

    hey orada gday þekilde ailesine vereceðiz site . Seçilmisl?r? fark I anybody hansi site haqqinda bir . !

  10. Prince Coatie
    March 20, 2012

    We stumbled over here coming from a different web page and thought I should check things out. I like what I see so i am just following you. Look forward to looking into your web page repeatedly.

  11. Domenica Tinnell
    September 22, 2012

    If some one needs to be updated with newest technologies after that he must be go to see this site and be up to date every day.

Leave a Reply




Back to top
mobile desktop