From: Konstantin Baev <kipruss@mail.ru> To: ALT Linux Team development discussions <devel@lists.altlinux.org>, Sisyphus@lists.altlinux.org Subject: [devel] Новый пакет umask-control Date: Sun, 05 Apr 2009 02:38:54 +0400 Message-ID: <49D7E17E.6080904@mail.ru> (raw) Информирую о появлении пакета umask-control, с помощью которого можно настраивать umask. Сделано три режима: user, group и add, соответствующие значениям umask 0022, 0002 и 0000 соответственно. Например, чтобы установить по умолчанию для пользователей системы umask 0002 следует ввести команду: # control umask group а чтобы проверить текущее состояние: # control umask Само текущее значение хранится в /etc/umask.conf, а в /etc/profiles.d лежат 2 скрипта: umask.sh и umask.csh (для разных shell'ов), которые применяют это значение после каждого входа пользователя в систему. По умолчанию значение user, то есть соответствует принятому сейчас по умолчанию в /etc/profiles - 0022. гит: http://git.altlinux.org/people/kipruss/packages/umask-control.git Если кому-то покажется полезным расширить список режимов, например ввести режим secure со значением umask 0077 - пишите. Мне на данном этапе показалось, что достаточно трёх режимов. -- Konstantin Baev kipruss@altlinux.org
next reply other threads:[~2009-04-04 22:38 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-04-04 22:38 Konstantin Baev [this message] 2009-04-04 22:42 ` Konstantin Baev
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=49D7E17E.6080904@mail.ru \ --to=kipruss@mail.ru \ --cc=Sisyphus@lists.altlinux.org \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git