Top "Umask" questions

umask is a Unix command to specify default permissions for the new files, created by the current user.

Setting default permissions for newly created files and sub-directories under a directory in Linux?

I have a bunch of long-running scripts and applications that are storing output results in a directory shared amongst a …

linux permissions acl umask
java set file permissions to 777 while creating a file object

Possible Duplicate: How can I set the umask from within java? How do you set file permissions to 777(or any …

java file file-permissions umask
How to set system wide umask?

I am working in a lab where we are running Linux (Debian and Ubuntu). Usernames and group names are handled …

linux system umask
Umask difference between 0022 and 022

Is there any difference between umask 0022 and 022? I want to change my umask to 022. How can I do it?

unix file-permissions umask
How to use os.umask() in Python

I'm trying to set a umask using the os module. Please note my normal umask set in my ~/.profile is …

python linux umask
How to create directory with right permissions using C on Posix

I am trying to write a simple C program that creates directories (a mkdir clone.). This is what I have …

c posix mkdir umask
How to create Unix Domain Socket with a specific permissions in C?

I have a simple code, like: sockaddr_un address; address.sun_family = AF_UNIX; strcpy(address.sun_path, path); unlink(…

c sockets unix unix-socket umask
Set Different Umask For Files And Folders

I am writing a bash script to update some files/directories and I want to run umask in the script …

bash permissions umask
How to set default permissions for new files created with php

Hi I am running a centos server and I want to know how I can set the default chmod of …

php umask
set umask for tomcat8 via tomcat.service

I am trying to set a custom umask for a tomcat 8 instance, tried to make it the good way by …

tomcat8 systemd umask