From: Michael Shigorin <mike@altlinux.org> To: sisyphus@lists.altlinux.org Cc: Alexey Gladkov <legion@altlinux.ru> Subject: Re: [sisyphus] mkimage-profiles или hasher -- кто-то не работает Date: Wed, 13 Aug 2014 14:19:27 +0400 Message-ID: <20140813101927.GC28809@imap.altlinux.org> (raw) In-Reply-To: <20140812202107.GD23554@mw.mithraen.ru> [-- Attachment #1: Type: text/plain, Size: 691 bytes --] On Wed, Aug 13, 2014 at 12:21:07AM +0400, Денис Смирнов wrote: > >> Я нашел в чем проблема: видимо mkimage создает тот самый > >> script.sh напрямую. В итоге из-за локального umask 007 к этому > >> файлу был доступ от юзера, но не было доступа из hasher. > >> Локально проблему решил umask 0 перед сборкой. > chmod +x это неправильно: [...] > Глянь man chmod на предмет umask Ну кто ж знал, что ты с 007 :-) Проверь, пожалуйста, у себя прилагаемый патч на /usr/share/mkimage/tools/mki-sh-functions и если устраивает и не будет противопоказаний -- включим в следующую версию mkimage. -- ---- WBR, Michael Shigorin / http://altlinux.org ------ http://opennet.ru / http://anna-news.info [-- Attachment #2: mki-sh-functions.diff --] [-- Type: text/x-patch, Size: 277 bytes --] diff --git a/tools/mki-sh-functions b/tools/mki-sh-functions index 46fb3f2..9ca727f 100755 --- a/tools/mki-sh-functions +++ b/tools/mki-sh-functions @@ -64,7 +64,7 @@ get_copy_args() { make_exec() { cat > "$1" - chmod +x -- "$1" + chmod 755 -- "$1" } run_chrooted() {
next prev parent reply other threads:[~2014-08-13 10:19 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 2014-08-12 20:21 ` Денис Смирнов 2014-08-13 10:19 ` Michael Shigorin [this message] 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=20140813101927.GC28809@imap.altlinux.org \ --to=mike@altlinux.org \ --cc=legion@altlinux.ru \ --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