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 16oW11-0003VB-00 for ; Fri, 22 Mar 2002 15:51:59 -0500 Received: from localhost (jwantz@localhost) by babel.hpcc.noaa.gov (8.11.6/8.11.2) with ESMTP id g2MKq1X03848 for ; Fri, 22 Mar 2002 15:52:01 -0500 Date: Fri, 22 Mar 2002 15:52:00 -0500 (EST) From: jwantz@hpcc2.hpcc.noaa.gov To: speakup@braille.uwo.ca Subject: Re: debian /var/lock permissions In-Reply-To: <20020322204748.GA15566@learning> 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, 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 >