ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: cornet <cornet@zmail.ru>
To: "mandrake-russian@altlinux.ru" <mandrake-russian@altlinux.ru>
Subject: [mdk-re] Предельная длинна строки команды?
Date: Thu Sep 13 10:01:11 2001
Message-ID: <3BA04C9D.769E20D6@zmail.ru> (raw)

Привет всем!
Вот только что столкнулся с этим ограничением.
Есть локальное хранилище Сизифа, пытаюсь сделать chmod на файлы:

[root@back /]# pwd
/
[root@back /]# chmod 0644 /smbshare/globus/Upd/Sisyph/RPMS/*
bash: /bin/chmod: Argument list too long
получаю ошибку.

При этом, если перейти в тот каталог где лежат файлы:
[root@back /]# cd /smbshare/globus/Upd/Sisyph/RPMS
[root@back RPMS]# pwd
/smbshare/globus/Upd/Sisyph/RPMS
[root@back RPMS]# chmod 0644 *
[root@back RPMS]#
ошибки не возникает.

То есть, подстановка к имени каждого файла имени каталога как раз
и вызвала превышение предельной длинны строки.

Отсюда вопрос:
А какова у нас в Спринге эта самая предельная длинна? По крайней
мере для bash.

-- 
******** FIRE & STEEL ********



             reply	other threads:[~2001-09-13 10:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-13 10:01 cornet [this message]
2001-09-13 10:37 ` [mdk-re] ðÒÅÄÅÌØÎÁÑ ÄÌÉÎÎÁ ÓÔÒÏËÉ ËÏÍÁÎÄÙ? Russu V.F.
2001-09-13 10:48   ` [mdk-re] Re: [mdk-re] Предельная длинна строки команды? cornet
2001-09-13 11:17     ` [mdk-re] Re: [mdk-re] ðÒÅÄÅÌØÎÁÑ ÄÌÉÎÎÁ ÓÔÒÏËÉ ËÏÍÁÎÄÙ? Russu V.F.
2001-09-13 11:20   ` [mdk-re] Предельная длинна строки команды? Sergei
2001-09-13 11:30     ` [mdk-re] ðÒÅÄÅÌØÎÁÑ ÄÌÉÎÎÁ ÓÔÒÏËÉ ËÏÍÁÎÄÙ? Yuri Ryazantsev
2001-09-13 12:24       ` [mdk-re] Предельная длинна строки команды? Sergei
2001-09-13 11:14 ` Sergei
2001-09-13 11:42   ` [mdk-re] " cornet

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=3BA04C9D.769E20D6@zmail.ru \
    --to=cornet@zmail.ru \
    --cc=mandrake-russian@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