ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] хмурюсь на sudo
@ 2002-10-08  5:47 faqa
  2002-10-08 10:09 ` faqa
  2002-10-08 15:35 ` Ruslan N. Balkin
  0 siblings, 2 replies; 4+ messages in thread
From: faqa @ 2002-10-08  5:47 UTC (permalink / raw)
  To: community

Добрый день, уважаемые.
Хотелось бы услышать умные мысли от сообщества, может кто выскажется,
если не влом.
Столкнулся я сегодня вот с такой ситуацией:

[faqa@faa faqa]$ sudo ls ~kedr/
bin  Desktop  Mail  nw  tmp  tra-ta-ta  tra-ta-ta1  tra-ta-ta2
[faqa@faa faqa]$ sudo rm -f ~kedr/tra-ta-ta*
[faqa@faa faqa]$ sudo ls ~kedr/
bin  Desktop  Mail  nw  tmp  tra-ta-ta  tra-ta-ta1  tra-ta-ta2

Т.е. используя sudo я не смог удалить файлики, используя метасимвол *. Я
так понимаю, при разборе команды shell делает подстановку вместо * и
обламывается, т.к. нет прав читать файлики у пользователя faqa в каталоге
~kedr.(Хотя никакой ругани не было :( ). А вот 
как бы сие обойти, т.е. сначало передать команду sudo, а потом
сам sudo займется ее разбором, в том числе подстановкой вместо
метасимволов?


С уважением,
Фефилов Андрей.


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

end of thread, other threads:[~2002-10-09  3:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-08  5:47 [Comm] хмурюсь на sudo faqa
2002-10-08 10:09 ` faqa
2002-10-08 15:35 ` Ruslan N. Balkin
2002-10-09  3:59   ` faqa

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