ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* Re: [sisyphus] install: cannot change ownership
  2002-01-05 21:53 [sisyphus] install: cannot change ownership forbusy
@ 2002-01-05 20:00 ` AVL
  0 siblings, 0 replies; 2+ messages in thread
From: AVL @ 2002-01-05 20:00 UTC (permalink / raw)
  To: sisyphus

On Sun, 6 Jan 2002 00:53:17 +0300
forbusy <forbusy@mail.ru> wrote:

> Привет,
> 
> Вот такая проблема возникла :
> rpm -bb myfile.spec
> 
> стадии prep и make проходят успешно,
> а на стадии install возникает такая ошибка:
> 
> install: cannot change ownership of `/var/tmp/myfile-buildroot/and so on..':
>  Operation not permitted

> 
> make: *** [install] Error 1
> ошибка: Неверный код возврата из /var/tmp/rpm-tmp.12345
> 
> Причем, из сырцов Сизифа бинарники нормально получаются, а из других сырцов 
> такая ошибка вылезает.
> 
> Как устранить такую ошибку? 

попытка изменить владельца файла в секции инсталл.
такое доступно только rootу
надо убрать все
 chown root:root file
или install -u root -g root file

из секции install: в Makefile
можно так 
perl -pi -e "s|-u root -g root ||g" Makefile
perl -pi -e "s|chown|echo chown|g" Makefile

или исправить в исходниках Makefile Makefile.in




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

* [sisyphus] install: cannot change ownership
@ 2002-01-05 21:53 forbusy
  2002-01-05 20:00 ` AVL
  0 siblings, 1 reply; 2+ messages in thread
From: forbusy @ 2002-01-05 21:53 UTC (permalink / raw)
  To: sisyphus

Привет,

Вот такая проблема возникла :
rpm -bb myfile.spec

стадии prep и make проходят успешно,
а на стадии install возникает такая ошибка:

install: cannot change ownership of `/var/tmp/myfile-buildroot/and so on..':
 Operation not permitted

make: *** [install] Error 1
ошибка: Неверный код возврата из /var/tmp/rpm-tmp.12345

Причем, из сырцов Сизифа бинарники нормально получаются, а из других сырцов 
такая ошибка вылезает.

Как устранить такую ошибку? 
------ 
С уважением,   
     Anton      forbusy@mail.ru             



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

end of thread, other threads:[~2002-01-05 21:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-05 21:53 [sisyphus] install: cannot change ownership forbusy
2002-01-05 20:00 ` AVL

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