V
V
Vitaly2017-02-18 11:23:44
linux
Vitaly, 2017-02-18 11:23:44

Umask to give +x to a directory for everyone?

Hello. Guys, I can't figure out how to give a mask to ensure that the created directories receive a + x for access to them
. I use the mask 0022 with files, everything is correct, but for directories, viewing access is not given for other members of the machine.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Saboteur, 2017-02-18
@vshvydky

Маска правильная. Что-то не так в другом месте. Может не применилась?
P.S. Пользуйтесь umask online calculator, если что
www.webune.com/forums/umask-calculator.html

R
Ruslan Fedoseev, 2017-02-18
@martin74ua

chmod a+X -r /path/
will correctly assign x bits to nested directories

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question