Skip to main content

Questions tagged [umask]

The tag has no usage guidance.

9 votes
3 answers
16k views

How to set default permissions for files moved or copied to a directory?

My question is similar to How to set the default file permissions on ALL newly created files in linux - but differs in important ways: I want all files created in (or copied to or moved to) a certain ...
Rob's user avatar
  • 91
5 votes
3 answers
54k views

How to set umask for a folder and it's subfolder?

I'm working on the same directory with some friends and they access it via SSH. I added us in the same group and defined a sticky bit to keep the user:group values the same. But when a user create a ...
Cyril N.'s user avatar
  • 416
5 votes
1 answer
6k views

How do you apply umask settings to an account that doesn't log in?

On my Ubuntu 11.04x64 server, I have service accounts running which do not log in and do not have home directories. These service accounts are responsible for running processes which are invoked as ...
nfarrar's user avatar
  • 351