A not-so-obvious umask trap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(1) I dislike default world-read access to any files so I set umask
    appropriately in /etc/bashrc.

(2) Fiddle around with ppp config or anything else that rewrites /etc/hosts.

(3) Next time you login with Gnome, it complains that it cannot look up your
    host name, etc.

This is only to be expected because the changed umask value prevents
world-read access.

Lesson: Don't fiddle around with the umask value in /etc/bashrc,
        unless you are prepared to chmod system files to workable
        values.  Best to modify umask per user.

Question: If I'm logged on as an non-root user and then run a
          system config GUI that asks for the root password, do I
          get the equivalent of "su -" or just "su"?




--
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux