A
A
Andrew2016-11-24 13:14:09
bash
Andrew, 2016-11-24 13:14:09

How can I make sure that all new files and directories have certain permissions by default?

It is necessary that the files have permissions 664, and directories 774, but if we use umask we get 664 and 775, are there other ways?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2016-11-24
@KotTyhan

umask set incorrectly?
Are you creating directories with the wrong user?
I will add a useful link:
www.ixbrian.com/blog/?p=121

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question