From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp013.mail.yahoo.com ([216.136.173.57]) by speech.braille.uwo.ca with smtp (Exim 3.34 #1 (Debian)) id 16oWXU-000148-00 for ; Fri, 22 Mar 2002 16:25:32 -0500 Received: from igueths (AUTH login) at h0020780ec921.ne.client2.attbi.com (HELO mycomputer) (igueths@24.62.33.0) by smtp.mail.vip.sc5.yahoo.com with SMTP; 22 Mar 2002 21:25:33 -0000 Message-ID: <002801c1d1e6$f30a3420$01213e18@mycomputer> From: "Igor Gueths" To: References: Subject: Re: debian /var/lock permissions Date: Fri, 22 Mar 2002 16:17:17 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 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 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 -----=20 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=20 > each bit represents a permission. The permissions are in the same = order=20 > 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=20 > particular group. >=20 > An example would be: chmod 774 myfile.txt. > In this case root would have read, write and execute permissions. So=20 > would the owner of the file. All others would have only read=20 > permissions. >=20 > Jim Wantz > On Fri, 22 Mar 2002, Kenny Hitt wrote: >=20 > > Hi. Each permission needs one bit. Remember binary. > >=20 > > Kenny > >=20 > > 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.=20 > > > ----- Original Message -----=20 > > > From: William Hubbs > > > To: Speakup Mailing List > > > Sent: Friday, March 22, 2002 1:32 PM > > > Subject: debian /var/lock permissions > > >=20 > > >=20 > > > > Cheryl, > > > >=20 > > > > I am running debian 3.0 (woody), and I just checked the = permissions on > > > > /var/lock here: > > > >=20 > > > > drwxrwxrwt 3 root root 1024 Mar 14 11:56 = /var/lock > > > >=20 > > > > To get that permission, type, as root, > > > >=20 > > > > chmod 1777 /var/lock > > > >=20 > > > > William > > > >=20 > > > >=20 > > > > _______________________________________________ > > > > Speakup mailing list > > > > Speakup@braille.uwo.ca > > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > >=20 > > >=20 > > > _________________________________________________________ > > > Do You Yahoo!? > > > Get your free @yahoo.com address at http://mail.yahoo.com > > >=20 > > >=20 > > > _______________________________________________ > > > Speakup mailing list > > > Speakup@braille.uwo.ca > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > >=20 > > _______________________________________________ > > Speakup mailing list > > Speakup@braille.uwo.ca > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > >=20 >=20 >=20 > _______________________________________________ > 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