On Fri, 10 Oct 2014, Hal Wigoda wrote: > Change the umask in the .bash_profile for root. Since the umask is already set to 0000, I don't see how changing it will make any difference. Besides, I _did_ change it by hand, just before the start of the example. And lastly, changing root's bash_profile won't make any difference to normal users. Alan Stern > On Fri, Oct 10, 2014 at 11:55 AM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote: > > Sorry if this question has been asked many times before. > > > > On a new CentOS 7 system, when I create files they end up with strange > > permissions. For example, as root: > > > > [root@server ~]# umask > > 0000 > > [root@server ~]# touch a > > [root@server ~]# ls -l a > > -r--r----- 1 root root 0 Oct 10 11:45 a > > > > As a regular user: > > > > [stern@server ~]$ umask > > 0000 > > [stern@server ~]$ touch b > > [stern@server ~]$ ls -l b > > -rw------- 1 stern stern 0 Oct 10 11:47 b > > > > In both cases the permsissions should have been -rw-rw-rw-. What on > > earth is going on, and how can I fix it? > > > > Thanks, > > > > Alan Stern > > > > _______________________________________________ > > CentOS mailing list > > CentOS@xxxxxxxxxx > > http://lists.centos.org/mailman/listinfo/centos > > > > _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos