From: Michael Shigorin <mike@altlinux.org>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] mkimage-profiles или hasher -- кто-то не работает
Date: Tue, 12 Aug 2014 18:12:44 +0400
Message-ID: <20140812141244.GA28809@imap.altlinux.org> (raw)
In-Reply-To: <20140812140249.GA32390@mw.mithraen.ru>
On Tue, Aug 12, 2014 at 06:02:49PM +0400, Денис Смирнов wrote:
> Я нашел в чем проблема: видимо mkimage создает тот самый
> script.sh напрямую. В итоге из-за локального umask 007 к этому
> файлу был доступ от юзера, но не было доступа из hasher.
> Локально проблему решил umask 0 перед сборкой.
Крайне странно, вижу выставление 755:
http://git.altlinux.org/gears/m/mkimage.git?p=mkimage.git;a=blob;f=tools/mki-scripts;h=f5c14ea3bf57497b8f7c8c6d60a636551f166dde;hb=HEAD#l62
http://git.altlinux.org/gears/m/mkimage.git?p=mkimage.git;a=blob;f=tools/mki-pack-custom;h=b4e21a37004041e3bf0363ca42edadcf4f772560;hb=HEAD#l32
Ещё встречается в
http://git.altlinux.org/gears/m/mkimage.git?p=mkimage.git;a=blob;f=tools/mki-copy-pkgs;h=35607946e82fa68372a776c4b90b6bbe5f1dff81;hb=HEAD#l131
но там, по идее, chmod +x в make_exec():
http://git.altlinux.org/gears/m/mkimage.git?p=mkimage.git;a=blob;f=tools/mki-sh-functions;h=50f5d2d051ca7e7beaa2b97fcaa2b7048960ab91;hb=HEAD#l65
Проверь на всякий rpm -V mkimage или обвешай эти три случая
локально отладочными echo и посмотри, где закопалось?
--
---- WBR, Michael Shigorin / http://altlinux.org
------ http://opennet.ru / http://anna-news.info
next prev parent reply other threads:[~2014-08-12 14:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-12 0:13 Денис Смирнов
2014-08-12 9:46 ` Michael Shigorin
2014-08-12 14:02 ` Денис Смирнов
2014-08-12 14:12 ` Michael Shigorin [this message]
2014-08-12 20:21 ` Денис Смирнов
2014-08-13 10:19 ` Michael Shigorin
2014-08-13 10:29 ` Денис Смирнов
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=20140812141244.GA28809@imap.altlinux.org \
--to=mike@altlinux.org \
--cc=sisyphus@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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git