From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.90.74.62] (helo=babel.hpcc.noaa.gov) by speech.braille.uwo.ca with esmtp (Exim 3.34 #1 (Debian)) id 16pERt-0001pL-00 for ; Sun, 24 Mar 2002 15:18:41 -0500 Received: from localhost (jwantz@localhost) by babel.hpcc.noaa.gov (8.11.6/8.11.2) with ESMTP id g2OKIgZ13908 for ; Sun, 24 Mar 2002 15:18:42 -0500 Date: Sun, 24 Mar 2002 15:18:42 -0500 (EST) From: jwantz@hpcc2.hpcc.noaa.gov To: speakup@braille.uwo.ca Subject: Re: debian /var/lock permissions In-Reply-To: <002801c1d1e6$f30a3420$01213e18@mycomputer> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.8 Precedence: bulk Reply-To: speakup@braille.uwo.ca List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: Hi, Okay, read permission for everybody i.e. root, group and user but excluding write and execute would be: chmod 444 nybble.txt To have read write and execute for root, read and execute for group and read for all others: chmod 754 nybble.txt Just remember each bit in that order read, write and execute. Jim On Fri, 22 Mar 2002, Igor Gueths wrote: > Hi Jim. I think I get it now, but what are the bit numbers for read and right? So based on the fact that I know execute is 7, chmod 777 myfile.txt would give root, user, and world read right and execute permissions on myfile.txt? > ----- Original Message ----- > From: > To: > Sent: Friday, March 22, 2002 3:52 PM > Subject: Re: debian /var/lock permissions > > > > Hi, > > Each group represents root, user and world in that order. Of course > > each bit represents a permission. The permissions are in the same order > > as what you would see when you did a 'ls -l' command i.e. read, write, > > execute. > > Therefore a 7 would mean read, write and execute permissions for that > > particular group. > > > > An example would be: chmod 774 myfile.txt. > > In this case root would have read, write and execute permissions. So > > would the owner of the file. All others would have only read > > permissions. > > > > Jim Wantz > > On Fri, 22 Mar 2002, Kenny Hitt wrote: > > > > > Hi. Each permission needs one bit. Remember binary. > > > > > > Kenny > > > > > > On Fri, Mar 22, 2002 at 03:01:43PM -0500, Igor Gueths wrote: > > > > Hi William. I've never gotten the logic behind the numbering systems to set file permissions. Like how do you get from something like chmod +x /home/file.txt to chmod 755 /home/file.txt. I'm just curious as to whether someone has figured out the logic behind this. > > > > ----- Original Message ----- > > > > From: William Hubbs > > > > To: Speakup Mailing List > > > > Sent: Friday, March 22, 2002 1:32 PM > > > > Subject: debian /var/lock permissions > > > > > > > > > > > > > Cheryl, > > > > > > > > > > I am running debian 3.0 (woody), and I just checked the permissions on > > > > > /var/lock here: > > > > > > > > > > drwxrwxrwt 3 root root 1024 Mar 14 11:56 /var/lock > > > > > > > > > > To get that permission, type, as root, > > > > > > > > > > chmod 1777 /var/lock > > > > > > > > > > William > > > > > > > > > > > > > > > _______________________________________________ > > > > > Speakup mailing list > > > > > Speakup@braille.uwo.ca > > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > > > > > > > > _________________________________________________________ > > > > Do You Yahoo!? > > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > > > > > _______________________________________________ > > > > Speakup mailing list > > > > Speakup@braille.uwo.ca > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > > _______________________________________________ > > > Speakup mailing list > > > Speakup@braille.uwo.ca > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > > > > > _______________________________________________ > > Speakup mailing list > > Speakup@braille.uwo.ca > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup >