Article View: alt.os.linux.slackware
Article #223environment size and "Arg list too long"
From: Derek Shaw
Date: Mon, 21 Aug 2000 00:00
Date: Mon, 21 Aug 2000 00:00
28 lines
1808 bytes
1808 bytes
I recently had an oops on a host, and after getting it working, a previously working commnand (chattr), run from cron is now returning "Arg list too long". From poring thru past postings with Deja-news, it seems most likely that it is something to do with the environment size. can anyone tell me where (if) the environment size is set? Or any other information about this? BASH_VERSION=1.14.7(1) I have a kludge working where I use find to process each file, and then execute the chattr command, but I would much rather use the format: chattr +i /var/home/userdir/* Another clue: if I run the command with a relative path it works fine: eg: cd / chattr +i var/home/userdir/* works, while chattr +i /var/home/userdir/* fails (returns "Arg list too long"). Any clues appreciated! feel free to respond by e-mail, too (remember to edit the address). -- This is a spam-resistant posting -- replace the he.is with derekshaw to send e-mail. Derek Shaw Business Information Systems Victoria, BC.
Technical Details
Message-ID:
<39A1C1E4.A1F33280@bigfoot.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f906c,86ff5b0ae5b4242e,start X-Google-Attributes: gidf906c,public X-Google-Thread: 1054c0,86ff5b0ae5b4242e,start X-Google-Attributes: gid1054c0,public From: Derek Shaw <he.is@bigfoot.com> Subject: environment size and "Arg list too long" Date: 2000/08/21 Message-ID: <39A1C1E4.A1F33280@bigfoot.com> X-Deja-AN: 660924387 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@home.net X-Trace: news1.gvcl1.bc.home.com 966902244 24.65.180.153 (Mon, 21 Aug 2000 16:57:24 PDT) Organization: Business Information Systems MIME-Version: 1.0 NNTP-Posting-Date: Mon, 21 Aug 2000 16:57:24 PDT Newsgroups: alt.os.linux.slackware,gnu.bash