From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ns.pcdesk.net ([65.100.173.137] helo=pcdesk.net) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1DQGAX-00070G-00 for ; Mon, 25 Apr 2005 22:51:25 -0400 Received: from merlin.pcdesk.net ([::ffff:192.168.0.13]) (AUTH: LOGIN jbahm@pcdesk.net, TLS: TLSv1/SSLv3,128bits,RC4-MD5) by pcdesk.net with esmtp; Mon, 25 Apr 2005 20:50:46 -0600 id 000004B0.426DAC86.00007B76 Date: Mon, 25 Apr 2005 20:50:56 -0600 (Mountain Daylight Time) From: "Joseph C. Lininger" To: "Speakup is a screen review system for Linux." In-Reply-To: <000c01c549e7$7f317d70$c2a9e744@nedelko83f1172> Message-ID: References: <000c01c549e7$7f317d70$c2a9e744@nedelko83f1172> X-X-Sender: jbahm@pcdesk.net@imap.pcdesk.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: setting security bits on UNIX X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.5 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: Tue, 26 Apr 2005 02:51:25 -0000 Ned, Wehn calculating the number you should pass to chmod, the following information is useful. read is worth 4, write is worth 2, and execute is worth 1. Adding these gives you a single octal number which represents the permition. Three of these numbers are used to represent user, group, and world permitions. Thus rwxr-xr-x would be 755. The umask command represents the permitions to remove from newly created files. You start with 666 for files and 777 for directories. Most systems use a umask of 022, which results in 644 for files and 755 for directories. Equal causes can produce very unequal effects. Joseph C. Lininger jbahm@pcdesk.net Verification: 5eab38a77ac40416e075be8f50607ff7 And so it came to pass that on Mon, 25 Apr 2005, Ned said > Hi all, > > I don't know how to take off protection from one of my files > Tried umask 022, umask 0, etc, nothing works. The chmod command didn't work either. I don't know the values that I need to put in. > The ls -l fileName command should give me: > -rwxr-xr-x > but not all dashes as it does now. > It's an html file that needs to be read and executed by anybody. > Please help. > > Many thanks in advance! > Ned > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup >