ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Ruslan N. Balkin" <baron@dartel.ru>
To: community@altlinux.ru
Subject: Re: [Comm] хмурюсь на sudo
Date: Tue, 8 Oct 2002 19:35:15 +0400
Message-ID: <20021008193515.602c63fb.baron@dartel.ru> (raw)
In-Reply-To: <20021008054753.GA16835@faa.ies.udm.ru>

[-- Attachment #1: Type: text/plain, Size: 965 bytes --]

On Tue, 8 Oct 2002 10:47:53 +0500
faqa@ies.udm.ru wrote:

> Добрый день, уважаемые.
> Хотелось бы услышать умные мысли от сообщества, может кто выскажется,
> если не влом.
> Столкнулся я сегодня вот с такой ситуацией:
> 
> [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 займется ее разбором, в том числе подстановкой вместо
> метасимволов?

sudo rm -f "~kedr/tra-ta-ta*" может помочь.

-- 
С уважением,
Балькин Руслан.

[-- Attachment #2: For security, this message has been digitally signed. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2002-10-08 15:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-08  5:47 faqa
2002-10-08 10:09 ` faqa
2002-10-08 15:35 ` Ruslan N. Balkin [this message]
2002-10-09  3:59   ` faqa

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=20021008193515.602c63fb.baron@dartel.ru \
    --to=baron@dartel.ru \
    --cc=community@altlinux.ru \
    /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 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