* debian /var/lock permissions @ William Hubbs ` Igor Gueths 0 siblings, 1 reply; 9+ messages in thread From: William Hubbs @ UTC (permalink / raw) To: Speakup Mailing List 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: debian /var/lock permissions debian /var/lock permissions William Hubbs @ ` Igor Gueths ` Kenny Hitt ` Cheryl Homiak 0 siblings, 2 replies; 9+ messages in thread From: Igor Gueths @ UTC (permalink / raw) To: speakup 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 <kc5eiv@kc5eiv.ddts.net> To: Speakup Mailing List <speakup@braille.uwo.ca> 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: debian /var/lock permissions ` Igor Gueths @ ` Kenny Hitt ` jwantz ` Cheryl Homiak 1 sibling, 1 reply; 9+ messages in thread From: Kenny Hitt @ UTC (permalink / raw) To: speakup 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 <kc5eiv@kc5eiv.ddts.net> > To: Speakup Mailing List <speakup@braille.uwo.ca> > 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: debian /var/lock permissions ` Kenny Hitt @ ` jwantz ` Igor Gueths 0 siblings, 1 reply; 9+ messages in thread From: jwantz @ UTC (permalink / raw) To: speakup 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 <kc5eiv@kc5eiv.ddts.net> > > To: Speakup Mailing List <speakup@braille.uwo.ca> > > 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 > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: debian /var/lock permissions ` jwantz @ ` Igor Gueths ` Cheryl Homiak ` jwantz 0 siblings, 2 replies; 9+ messages in thread From: Igor Gueths @ UTC (permalink / raw) To: speakup 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: <jwantz@hpcc2.hpcc.noaa.gov> To: <speakup@braille.uwo.ca> 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 <kc5eiv@kc5eiv.ddts.net> > > > To: Speakup Mailing List <speakup@braille.uwo.ca> > > > 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: debian /var/lock permissions ` Igor Gueths @ ` Cheryl Homiak ` jwantz ` jwantz 1 sibling, 1 reply; 9+ messages in thread From: Cheryl Homiak @ UTC (permalink / raw) To: speakup Well, I'm not Jim, but it isn't really that execute is 7. Read is 4, write is 2, and execute is 1. So 6 would be read-write 7 would be read-write-execute, 1 would be just execute, etc. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: debian /var/lock permissions ` Cheryl Homiak @ ` jwantz 0 siblings, 0 replies; 9+ messages in thread From: jwantz @ UTC (permalink / raw) To: speakup Hey Cheryl, Yes, you said it a different way than I did. With both explanations hopefully he'll get it. Thanks. Jim Wantz On Fri, 22 Mar 2002, Cheryl Homiak wrote: > Well, I'm not Jim, but it isn't really that execute is 7. > Read is 4, write is 2, and execute is 1. > So 6 would be read-write 7 would be read-write-execute, 1 would be just execute, > etc. > > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: debian /var/lock permissions ` Igor Gueths ` Cheryl Homiak @ ` jwantz 1 sibling, 0 replies; 9+ messages in thread From: jwantz @ UTC (permalink / raw) To: speakup 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: <jwantz@hpcc2.hpcc.noaa.gov> > To: <speakup@braille.uwo.ca> > 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 <kc5eiv@kc5eiv.ddts.net> > > > > To: Speakup Mailing List <speakup@braille.uwo.ca> > > > > 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 > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: debian /var/lock permissions ` Igor Gueths ` Kenny Hitt @ ` Cheryl Homiak 1 sibling, 0 replies; 9+ messages in thread From: Cheryl Homiak @ UTC (permalink / raw) To: speakup Yes, I have the same permissions, but I have a 2 instead of a 3. ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
debian /var/lock permissions William Hubbs
` Igor Gueths
` Kenny Hitt
` jwantz
` Igor Gueths
` Cheryl Homiak
` jwantz
` jwantz
` Cheryl Homiak
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).