* Re: [Comm] Права в /var/spool/asterisk/monitor @ 2013-07-10 9:30 ` Viacheslav Dubrovskyi 2013-07-10 23:42 ` Денис Смирнов 1 sibling, 0 replies; 2+ messages in thread From: Viacheslav Dubrovskyi @ 2013-07-10 9:30 UTC (permalink / raw) To: community 10.07.2013 10:32, Павел Цильке wrote: > Здравствуйте. > Хотелось бы узнать, как можно сделать так, чтобы файлы и каталоги, > которые asterisk создает в /var/spool/asterisk/monitor были доступны > на запись группе пользователей pbxadmin? Как вариант, можно воспользоваться bindfs и смонтировать директорию куда нужно и с нужными правами. -- WBR, Viacheslav Dubrovskyi ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] Права в /var/spool/asterisk/monitor 2013-07-10 9:30 ` [Comm] Права в /var/spool/asterisk/monitor Viacheslav Dubrovskyi @ 2013-07-10 23:42 ` Денис Смирнов 1 sibling, 0 replies; 2+ messages in thread From: Денис Смирнов @ 2013-07-10 23:42 UTC (permalink / raw) To: community On Wed, Jul 10, 2013 at 11:32:36AM +0400, Павел Цильке wrote: > Хотелось бы узнать, как можно сделать так, чтобы файлы и каталоги, которые > asterisk создает в /var/spool/asterisk/monitor были доступны на запись > группе пользователей pbxadmin? > Версия asterisk 1.8.22.0-alt1 из Сизифа Права сейчас должны быть на создаваемые файлы -- _asterisk:pbxadmin 0644. Это так? Чтобы сменить права для создаваемых файлов (скажем использовать 0660, что было бы корректнее), боюсь придется патчить астериск. Если напишите патч с возможностью настройи через asterisk.conf, по аналогии с существующей там опцией astctlpermissions -- буду рад включить его в наши сборки. В качестве хака могу предложить использовать скрипт, запускающийся после создания записи (см. документацию на Monitor или MixMonitor, смотря что вы используете), и уже в этом скрипте выполнить chmod. Так как скрипт будет выполняться астериском от _asterisk, у него будет возможность изменять права доступа. -- С уважением, Денис http://mithraen.ru/ ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-10 23:42 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-07-10 9:30 ` [Comm] Права в /var/spool/asterisk/monitor Viacheslav Dubrovskyi 2013-07-10 23:42 ` Денис Смирнов
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git