public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* permissions
@  Michael
   ` permissions Doug Lawlor
   ` permissions Raul A. Gallegos
  0 siblings, 2 replies; 11+ messages in thread
From: Michael @  UTC (permalink / raw)
  To: speakup

High all:

Now that I can hear and get a Linux box up and running as soon as I get
Slackware 8.0 ,
I would like to extend a  sincere thanks to those who took the time to lend
a helping hand.
I need to prevail on you guys and gals once again.
Where can I find a good document on permissions and there configurations?
I'll be sticking with my Redhat 5.2  on leashed for my command reference.
I don't think the basic commands has changed much sense the mid nineties.
How ever, I could be mistaken! <grin> '

Chow:
Michael







^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: permissions
   permissions Michael
@  ` Doug Lawlor
   ` permissions Raul A. Gallegos
  1 sibling, 0 replies; 11+ messages in thread
From: Doug Lawlor @  UTC (permalink / raw)
  To: speakup

At 03:02 PM 06/10/2001, you wrote:

>I need to prevail on you guys and gals once again.
>Where can I find a good document on permissions and there configurations?
When you get your slackware system up and running take a look at the 
'chmod' command.  You do this by typing at the shell prompt 'man chmod'.

Doug



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: permissions
   permissions Michael
   ` permissions Doug Lawlor
@  ` Raul A. Gallegos
  1 sibling, 0 replies; 11+ messages in thread
From: Raul A. Gallegos @  UTC (permalink / raw)
  To: speakup

Reading the man page on chmod will help but below is a quick guide on
permissions, at least basic ones.

the ls -l will show you a direct listing in long format of any directory
where you issue the command.  the output will be something like:
-rw-r--r--	1	root	root	112212	Jun 18	17:48	test_file

The first part tells you the permissions set on the file called test_file.
This is the only part I'm going to address here.  Take the -rw-r--r-- and
break it up into 4 parts like this: - rw- r-- r--  The first part tells
you if this is a file or a directory.  if it is a - then it's a file and
if it is a d it's a directory.  The next 3 parts are the permissions for
owner, group, and world.  Each of these 3 parts has 3 flags which can be
on or off.  If they are on you will see a letter and if it is off you will
see just a -.  The permissions are r for read w for write and x for
execute.  So if you have a file which like the example -rw-r--r-- it means
that the owner of the file has read/write access to the file while the
group and the world has only read access to it.  If you look at a binary
file such as /usr/bin/vacation you will see something like -rwxr-xr-x or
-rwx--x--x.  This means that the owner root has read/write/execute
permissions while everyone else either has read/execute or just execute
permissions.

Now to setting the permissions accordingly you use the command chmod.
There are more than one ways to set this but I will demonstrate my
prefered way.  Some may like it some may not, but it is easy
none-the-less.

Let's take the file test-file for example.  to create it just touch
test_file and bang, you  got a file called test file.  Let's clear all the
permissions by typing chmod 000 test_file  This will set the
owner/group/world permissions to ---.  Below is a chart of the
corrisponding number flags when you use chmod.  they range from 0 through
7.  and when you issue them you do it in sets of 3 digits.  first digit is
for owner permission, 2nd is for group permission and 3rd is for world
permission.

0 ---
1 --x
2 -w-
3 -wx
4 r--
5 r-x
6 rw-
7 rwx

So by looking at the chart above 0 means there are no flags set, no
read/write/execute.  1 means execute only, good for binaries.  4 is read
only good for making files that everyone can read from but not write to.
5 is good for scripts, must be readable and executable but not writable.
7 has all the flags set read/write/execute.

Now, if you want to make this file read/write/execute by owner, but only
read/execute by group and read only by world the command would be chmod
754 test_file.  If you want to make this file read/write by owner, and
readonly by group and nothing for world it would be chmod 640 test_file.

As I stated this is a quick guide so you should definately read the man
page but maybe this will help you understand permissions a little.

--- Raul A. Gallegos mailto:raul@asmodean.net http://www.asmodean.net
For millions of years, mankind lived just like the animals..  Then
something happened, which unleashed the power of our imagination...
We learned to talk...

On Sat, 6 Oct 2001, Michael wrote:

>
> High all:
>
> Now that I can hear and get a Linux box up and running as soon as I get
> Slackware 8.0 ,
> I would like to extend a  sincere thanks to those who took the time to lend
> a helping hand.
> I need to prevail on you guys and gals once again.
> Where can I find a good document on permissions and there configurations?
> I'll be sticking with my Redhat 5.2  on leashed for my command reference.
> I don't think the basic commands has changed much sense the mid nineties.
> How ever, I could be mistaken! <grin> '
>
> Chow:
> Michael
>
>
>
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: permissions
   permissions Gregory Nowak
@  ` Sean McMahon
  0 siblings, 0 replies; 11+ messages in thread
From: Sean McMahon @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

If you can use the bit patern for s it's a 2  so permissions of 700
read/write/execute,none,none with an s ends up being 2700.  The chmod man page
says you have to specify the s not use the octal string.  Then again I may have
an old man page.

----- Original Message ----- 
From: "Gregory Nowak" <greg@romuald.net.eu.org>
To: <speakup@braille.uwo.ca>
Sent: Saturday, March 27, 2004 4:51 AM
Subject: permissions


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all.
>
> I know that r,w,x is 4,2,1 respectively, but could someone please tell
> me what the bit pattern is to specify s? Thanks.
>
> Greg
>
>
> - -- 
> Free domains: http://www.eu.org/ or mail dns-manager@EU.org
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
>
> iD8DBQFAZWqk7s9z/XlyUyARAmOqAJ4h/CjbqyQUwOrucMcNOi70OIuA0gCfXKMA
> N06mQ8CUh+lJtENJjCEFUE0=
> =mXgL
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup



^ permalink raw reply	[flat|nested] 11+ messages in thread

* permissions
@  Gregory Nowak
   ` permissions Sean McMahon
  0 siblings, 1 reply; 11+ messages in thread
From: Gregory Nowak @  UTC (permalink / raw)
  To: speakup

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all.

I know that r,w,x is 4,2,1 respectively, but could someone please tell
me what the bit pattern is to specify s? Thanks.

Greg


- -- 
Free domains: http://www.eu.org/ or mail dns-manager@EU.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAZWqk7s9z/XlyUyARAmOqAJ4h/CjbqyQUwOrucMcNOi70OIuA0gCfXKMA
N06mQ8CUh+lJtENJjCEFUE0=
=mXgL
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Permissions
   ` Permissions Darrell Shandrow
     ` Permissions Janina Sajka
@    ` Charles Crawford
  1 sibling, 0 replies; 11+ messages in thread
From: Charles Crawford @  UTC (permalink / raw)
  To: speakup

Hi All,

	I have a poblem.  I did an mv of my mp3 files to a directory called 
folk1.  I do a ls * and it lists the files, but when I do an ls nothing 
comes up.  Is this a permissions problem, but can't imagine that it is 
since this happens from the root level.

Signed lost on my hard drive, -- Charlie Crawford.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Permissions
   Permissions Richard Villa
   ` Permissions Darrell Shandrow
@  ` Igor Gueths
  1 sibling, 0 replies; 11+ messages in thread
From: Igor Gueths @  UTC (permalink / raw)
  To: speakup

Hi Richard. Just do man chmod.

microsoft dialogue
   This company has performed an illegal operation and will be shut down.
   If the problem persists, delete winblows and install linux
   close button

On Tue, 17 Sep 2002, Richard Villa wrote:

> I have been looking around and can't find any information on how to set
> read/write permissions.
> Richard
>
> If you are going to burn all of your bridges, you better be able to walk on
> water.
>
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Permissions
     ` Permissions Janina Sajka
@      ` Janina Sajka
  0 siblings, 0 replies; 11+ messages in thread
From: Janina Sajka @  UTC (permalink / raw)
  To: speakup

Also, a great way to learn what commands you might want man pages for is the apropos command. So, for the question about
permissions, you might do:

apropos permissions

I would also recommend the Red Hat Customization Guide and Reference Guide. Both are available in html in single file
downloads, .tar.gz. For the most part, these guides are well written, and provide console based information, as well as
gui based management info.


Darrell Shandrow writes:
> Hi Richard,
> 
> Execute the following command from a shell prompt:
> man chmod
> 
> ----- Original Message -----
> From: "Richard Villa" <rvilla@austin.rr.com>
> To: <speakup@braille.uwo.ca>
> Sent: Monday, September 16, 2002 11:53 PM
> Subject: Permissions
> 
> 
> > I have been looking around and can't find any information on how to set
> > read/write permissions.
> > Richard
> >
> > If you are going to burn all of your bridges, you better be able to walk
> on
> > water.
> >
> >
> >
> >
> > _______________________________________________
> > 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

-- 
	
				Janina Sajka, Director
				Technology Research and Development
				Governmental Relations Group
				American Foundation for the Blind (AFB)

Email: janina@afb.net		Phone: (202) 408-8175

Chair, Accessibility SIG
Open Electronic Book Forum (OEBF)
http://www.openebook.org

   Please avoid sending me Word or PowerPoint attachments.
   See http://www.fsf.org/philosophy/no-word-attachments.html




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Permissions
   ` Permissions Darrell Shandrow
@    ` Janina Sajka
       ` Permissions Janina Sajka
     ` Permissions Charles Crawford
  1 sibling, 1 reply; 11+ messages in thread
From: Janina Sajka @  UTC (permalink / raw)
  To: speakup

Also, a great way to learn what commands you might want man pages for is the apropos command. So, for the question about
permissions, you might do:

apropos permissions

I would also recommend the Red Hat Customization Guide and Reference Guide. Both are available in html in single file
downloads, .tar.gz. For the most part, these guides are well written, and provide console based information, as well as
gui based management info.


Darrell Shandrow writes:
> Hi Richard,
> 
> Execute the following command from a shell prompt:
> man chmod
> 
> ----- Original Message -----
> From: "Richard Villa" <rvilla@austin.rr.com>
> To: <speakup@braille.uwo.ca>
> Sent: Monday, September 16, 2002 11:53 PM
> Subject: Permissions
> 
> 
> > I have been looking around and can't find any information on how to set
> > read/write permissions.
> > Richard
> >
> > If you are going to burn all of your bridges, you better be able to walk
> on
> > water.
> >
> >
> >
> >
> > _______________________________________________
> > 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

-- 
	
				Janina Sajka, Director
				Technology Research and Development
				Governmental Relations Group
				American Foundation for the Blind (AFB)

Email: janina@afb.net		Phone: (202) 408-8175

Chair, Accessibility SIG
Open Electronic Book Forum (OEBF)
http://www.openebook.org

   Please avoid sending me Word or PowerPoint attachments.
   See http://www.fsf.org/philosophy/no-word-attachments.html




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Permissions
   Permissions Richard Villa
@  ` Darrell Shandrow
     ` Permissions Janina Sajka
     ` Permissions Charles Crawford
   ` Permissions Igor Gueths
  1 sibling, 2 replies; 11+ messages in thread
From: Darrell Shandrow @  UTC (permalink / raw)
  To: speakup

Hi Richard,

Execute the following command from a shell prompt:
man chmod

----- Original Message -----
From: "Richard Villa" <rvilla@austin.rr.com>
To: <speakup@braille.uwo.ca>
Sent: Monday, September 16, 2002 11:53 PM
Subject: Permissions


> I have been looking around and can't find any information on how to set
> read/write permissions.
> Richard
>
> If you are going to burn all of your bridges, you better be able to walk
on
> water.
>
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Permissions
@  Richard Villa
   ` Permissions Darrell Shandrow
   ` Permissions Igor Gueths
  0 siblings, 2 replies; 11+ messages in thread
From: Richard Villa @  UTC (permalink / raw)
  To: speakup

I have been looking around and can't find any information on how to set
read/write permissions.
Richard

If you are going to burn all of your bridges, you better be able to walk on
water.





^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 permissions Michael
 ` permissions Doug Lawlor
 ` permissions Raul A. Gallegos
 Permissions Richard Villa
 ` Permissions Darrell Shandrow
   ` Permissions Janina Sajka
     ` Permissions Janina Sajka
   ` Permissions Charles Crawford
 ` Permissions Igor Gueths
 permissions Gregory Nowak
 ` permissions Sean McMahon

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).