Bug 20399 - Не работает для girar
Summary: Не работает для girar
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: umask-control (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Evgeny Sinelnikov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-09 21:30 MSD by Vitaly Lipatov
Modified: 2009-06-18 00:48 MSD (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Lipatov 2009-06-09 21:30:08 MSD
Маска, заданная в /etc/sysconfig/umask.conf, не применяется для girar
Проверял так:
В /usr/libexec/girar-ls добавлял вызов
umask
и получал
$ ssh git.office ls
0022
при 

[root@git girar]# grep umask /etc/profile
umask 007
[root@git girar]# grep umask /etc/sysconfig/umask.conf
umask 0007
Comment 1 Evgeny Sinelnikov 2009-06-18 00:48:37 MSD
Проблема в git. Там это сделано специально, чтобы пользователи могли иметь разные umask и, при этом, нормально работать с общим каталогом на локальной системе. Такая форма работы называется "shared repository".

Включается она настройкой:
git config core.sharedRepository true

girar тут тоже не причём, но в сборке на git.eter я добавил установку этого параметра для общих проектов в /projects:
http://git.etersoft.ru/people/sin/packages/girar.git/?p=girar.git;a=commit;h=9cd6f12dc1c6720df2cce1d284cd4df62ff42d3c
http://git.altlinux.org/people/sin/packages/girar.git?p=girar.git;a=commit;h=9cd6f12dc1c6720df2cce1d284cd4df62ff42d3c