From: Ivan Zakharyaschev <imz@altlinux.org> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] Упаковка python-приложение Date: Fri, 8 Jul 2016 13:20:00 +0300 (MSK) Message-ID: <alpine.LFD.2.20.1607081317100.1381@imap.altlinux.org> (raw) In-Reply-To: <CANM4RuiJTmiUcMvhyYnmomQBnf9fxUDZH-K8=15_HNnOCFS4vg@mail.gmail.com> [-- Attachment #1: Type: text/plain, Size: 956 bytes --] On Fri, 8 Jul 2016, Eugene Prokopiev wrote: > Совет нашелся в спеке для RHEL:ямо > > %install > %{__python} setup.py install --skip-build > --install-lib=%{python_sitelib}/%{name} --root %{buildroot} У нас %python_sitelibdir > опытки > Однако дальше в спеке предполагается, что приложение будет запускаться > в %python_sitelibdir/%name прямо от рута. > > Попытки запускать приложение не от рута упираются сначала в: От обычного пользователя-человека или от специального для сервера? > IOError: [Errno 13] Permission denied: > '/usr/lib/python2.7/site-packages/webvirtmgr/webvirtmgr/local/.secret_key_store' Ну данные по-хорошему должны быть где-то в $HOME или /var/lib/%name/ > а после chmod в: > > webvirtmgr.utils.secret_key.FilePermissionError: Insecure key file permissions! > > Похоже, что опакечивание django-приложений - еще один случай, когда > овчинка выделки не стоит :( Возможно, да, сделать это удобно не просто. -- Best regards, Ivan
next prev parent reply other threads:[~2016-07-08 10:20 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-07-07 8:41 Eugene Prokopiev 2016-07-07 9:38 ` Ivan Zakharyaschev 2016-07-07 10:34 ` Eugene Prokopiev 2016-07-07 11:35 ` Ivan Zakharyaschev 2016-07-08 6:43 ` Eugene Prokopiev 2016-07-08 10:20 ` Ivan Zakharyaschev [this message] 2016-07-08 10:27 ` Alexey Shabalin 2016-11-29 18:45 ` Alexey Shabalin 2016-11-30 7:59 ` Eugene Prokopiev 2016-12-08 14:45 ` Alexey Shabalin 2016-12-09 6:57 ` Eugene Prokopiev 2016-12-09 13:17 ` Alexey Shabalin 2016-12-09 13:50 ` Eugene Prokopiev 2016-12-09 14:34 ` Alexey Shabalin 2016-12-10 18:12 ` Eugene Prokopiev 2016-07-07 10:30 ` Антон Мидюков 2016-07-07 10:40 ` Eugene Prokopiev
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=alpine.LFD.2.20.1607081317100.1381@imap.altlinux.org \ --to=imz@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