ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [mdk-re] 2.4.17-alt1 source files permissions
@ 2002-01-04  8:33 Roman Mediakov
  2002-01-04  9:16 ` "Баталов Григорий"
  0 siblings, 1 reply; 2+ messages in thread
From: Roman Mediakov @ 2002-01-04  8:33 UTC (permalink / raw)
  To: Список
	рассылки
	Mandrake Russian

Уже давно (в 2.4.12 точно было) замечаю такую мелочь - права на
некоторые файлы в каталоге /usr/src/RPM/SOURCES не позволяют обычному
пользователю их читать и, соответственно, попытка сборки ядра не
удаётся. chmod a+r из-под root-а спасает ситуацию, но хотелось бы, чтобы
этого небыло. Процесс сборки ядра:

1. # rpm -ivh <kernel.rpm>
2. # cd /usr/src/RPM/
4. # mcedit SPECS/<kernel.spec>
3. # cp SOURCES/<kernel.config> SOURCES/<kernel-custom.config>
4. # mcedit SOURCES/<kernel-custom.config>
5. $ cd /usr/src/RPM/SPECS
6. $ rpm -bb --target i686 <kernel.spec>
7. Вываливаемся с сообщением о premission denied на одном из файлов в
SOURCES.
8. # chown a+r SOURCES/*
9. $ rpm -bb --target i686 <kernel.spec>
10. Всё OK.

Может, я что-то не так делаю?

МеРВ

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [mdk-re] 2.4.17-alt1 source files permissions
  2002-01-04  8:33 [mdk-re] 2.4.17-alt1 source files permissions Roman Mediakov
@ 2002-01-04  9:16 ` "Баталов Григорий"
  0 siblings, 0 replies; 2+ messages in thread
From: "Баталов Григорий" @ 2002-01-04  9:16 UTC (permalink / raw)
  To: mandrake-russian

On 04 Jan 2002 10:36:24 +0500
Roman Mediakov <merv@utb.ru> wrote:

> Уже давно (в 2.4.12 точно было) замечаю такую мелочь - права на
> некоторые файлы в каталоге /usr/src/RPM/SOURCES не позволяют обычному
> пользователю их читать и, соответственно, попытка сборки ядра не
> удаётся. chmod a+r из-под root-а спасает ситуацию, но хотелось бы, чтобы
> этого небыло. Процесс сборки ядра:
> 
> 1. # rpm -ivh <kernel.rpm>

  Рекомендую это делать не от рута, а от пользователя,
  внесённого в группу rpm.

<skip>

-- 
 Баталов Григорий.
---------------------------------------------------------------------------
 I am the "ILOVEGNU" signature virus. Just copy me to your signature.
 This email was infected under the terms of the GNU General Public License.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-04  9:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-04  8:33 [mdk-re] 2.4.17-alt1 source files permissions Roman Mediakov
2002-01-04  9:16 ` "Баталов Григорий"

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