From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from cantata.rednote.net ([66.92.170.86]) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1Bl0e0-0001ys-00 for ; Thu, 15 Jul 2004 03:27:04 -0400 Received: from cantata.rednote.net (localhost.localdomain [127.0.0.1]) by cantata.rednote.net (8.12.11/8.12.11/Debian-4) with ESMTP id i6F7R3eO031550; Thu, 15 Jul 2004 03:27:03 -0400 Received: (from janina@localhost) by cantata.rednote.net (8.12.11/8.12.11/Debian-4) id i6F7R31t031548; Thu, 15 Jul 2004 03:27:03 -0400 Date: Thu, 15 Jul 2004 03:27:02 -0400 From: Janina Sajka To: Jayson Smith , "Speakup is a screen review system for Linux." Message-ID: <20040715072702.GG2266@rednote.net> References: <000b01c46954$d449eb40$6500a8c0@h2c8f0> <20040714040020.GA4927@romuald.net.eu.org> <000701c46958$85dcdfe0$6500a8c0@h2c8f0> <20040714045033.GA5416@romuald.net.eu.org> <001501c46970$ad2ede00$6500a8c0@h2c8f0> <20040714173826.GA13425@romuald.net.eu.org> <000701c469ca$b7e27b40$6500a8c0@h2c8f0> <20040714182556.GA13865@romuald.net.eu.org> <000701c46a26$e30d07c0$6500a8c0@h2c8f0> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000701c46a26$e30d07c0$6500a8c0@h2c8f0> User-Agent: Mutt/1.5.5.1+cvs20040105i Cc: Subject: Re: Proftpd question X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.4 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2004 07:27:05 -0000 Jayson Smith writes: > Also, is there a way to find out, in numeric terms, the permissions of a > file or directory? Keeping up with what 755, rwx--r--r or whatever, etc. > means when compared to each other is a bit difficult for me at times. I'm unaware that you can have ls put out permissions as their octal equivalents, but I may learn something. Still, if you remember that the "rwx--r--r" comes in groups of three, you might find it easier. Here's how: The first char is all by itself. It tells you whether the file is a diectory, a link, etc. The rest are grouped by three. r is always 4 w is always 2 x is always 1 So, the example you gave, rwx--r--r, becomes 744. And, the firstgroup of three, or the first octal digit, is for owner, the next for group, and the last for world.