From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4393F182.6000007@rambler.ru> Date: Mon, 05 Dec 2005 09:51:30 +0200 From: Olvin User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050905) X-Accept-Language: en-us, en MIME-Version: 1.0 To: ALT Linux Community Subject: Re: [Comm] chmod -R References: <200512031749.31275.vt@kdtu.kr.ua> <20051203191247.19ac0ecc@greg> In-Reply-To: <20051203191247.19ac0ecc@greg> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-Auth-User: olvin, whoson: olvin@rambler.ru X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Community List-Id: ALT Linux Community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2005 07:49:07 -0000 Archived-At: List-Archive: List-Post: Grigory Fateyev wrote: > find sss1 -type f -name "*" -exec chmod 644 {} \; > вам на man find :) #!/bin/sh # chmod-ng :) find "$1" -type $2 -print0| xargs -0 chmod $3 Без -print0 и -0 будут проблемы.