top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

how/where umask is defined on a Ubuntu server system

0 votes
415 views

I am wondering how - or more exactly where - umask is defined on a stock Ubuntu server system.

I have reactivated the root account. Here's the respective default umask for root and normal users:

Nomal User:

$ umask
0002

Root User

$ umask
0022

On RHEL/CentOS, these values are defined in /etc/bashrc and then in the individual ~/.bashrc files. How does Ubuntu handle this?

posted Aug 6, 2014 by Jai Prakash

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

umask value is set in "/etc/login.defs" but you can override it in bashrc.

answer Aug 6, 2014 by Salil Agrawal
Similar Questions
+1 vote

I have some legacy binary code. Is there a way to run it on a current 64bit ubuntu system?

~$ file y
y: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.0.0, not stripped
~$ ./y
-bash: ./y: No such file or directory
0 votes

I'd like to install a master on a virtual machine and rsync this installation to ten clients (desktop installation for a library). Also, all changes after the initial installation to this master image should be replicated to them.

There are some modifications for the master installation necessary. It must not use UUIDs for example.

Is there a ready-to-use script for this scenario?

Thank you in advance.

+1 vote

I would like to know the configuration file(s) which contain the server URLs from which Ubuntu updates happen.

...