public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* setting security bits on UNIX
@  Ned
   ` Gregory Nowak
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Ned @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Hi all,

I don't know how to take off protection from one of my files
Tried umask 022, umask 0, etc, nothing works. The chmod command didn't work either. I don't know the values that I need to put in.
The ls -l fileName command should give me:
-rwxr-xr-x
but not all dashes as it does now.
It's an html file that needs to be read and executed by anybody.
Please help.

Many thanks in advance!
Ned

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

* Re: setting security bits on UNIX
   setting security bits on UNIX Ned
@  ` Gregory Nowak
     ` Steve Holmes
     ` Sean McMahon
   ` Joseph C. Lininger
   ` Ralph W. Reid
  2 siblings, 2 replies; 6+ messages in thread
From: Gregory Nowak @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

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

chmod 755 filename

Hth.

Greg


On Mon, Apr 25, 2005 at 03:38:26PM -0700, Ned wrote:
> Hi all,
> 
> I don't know how to take off protection from one of my files
> Tried umask 022, umask 0, etc, nothing works. The chmod command didn't work either. I don't know the values that I need to put in.
> The ls -l fileName command should give me:
> -rwxr-xr-x
> but not all dashes as it does now.
> It's an html file that needs to be read and executed by anybody.
> Please help.
> 
> Many thanks in advance!
> Ned
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 
> 
> !DSPAM:426d71a4249891133470069!
> 
> 

- -- 
web site: http://www.romuald.net.eu.org
gpg public key: http://www.romuald.net.eu.org/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)

- --
Free domains: http://www.eu.org/ or mail dns-manager@EU.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFCbXIL7s9z/XlyUyARApi8AJ0aECEVUCS2k6vF2IWro9gschBlSgCfWnJw
Hcfl7cYNwYrgfR204nGdNnQ=
=feVZ
-----END PGP SIGNATURE-----


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

* Re: setting security bits on UNIX
   ` Gregory Nowak
@    ` Steve Holmes
     ` Sean McMahon
  1 sibling, 0 replies; 6+ messages in thread
From: Steve Holmes @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

For even more information, do a "man chmod" for all the gorry details on
file permissions.  Since you're dealing with a text file, you should
probably not need the execute permission on the file so then chmod 644
would be plenty adequate.  Note that chmod 644 would yield
- -rW-r--r--...

Umask determines a default permission given to eny newly created files
under your current user account.

On Mon, Apr 25, 2005 at 05:41:15PM -0500, Gregory Nowak wrote:
> chmod 755 filename
> 
> Hth.
> 
> Greg
> 
> 
> On Mon, Apr 25, 2005 at 03:38:26PM -0700, Ned wrote:
> > Hi all,
> > 
> > I don't know how to take off protection from one of my files
> > Tried umask 022, umask 0, etc, nothing works. The chmod command didn't work either. I don't know the values that I need to put in.
> > The ls -l fileName command should give me:
> > -rwxr-xr-x
> > but not all dashes as it does now.
> > It's an html file that needs to be read and executed by anybody.
> > Please help.
> > 
> > Many thanks in advance!
> > Ned
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > 
> > 
> > !DSPAM:426d71a4249891133470069!
> > 
> > 
> 
> -- 
> web site: http://www.romuald.net.eu.org
> gpg public key: http://www.romuald.net.eu.org/pubkey.asc
> skype: gregn1
> (authorization required, add me to your contacts list first)
> 
> --
> Free domains: http://www.eu.org/ or mail dns-manager@EU.org
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 
> 

- -- 
HolmesGrown Solutions
The best solutions for the best price!
http://ld.net/?holmesgrown
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)

iD8DBQFCbXa3WSjv55S0LfERA9waAKC/qDp+n4VXC1knhAMlO22BfXLfsgCbBtfS
hEebm/5c9zbRiTyqktdZWfY=
=E/C6
-----END PGP SIGNATURE-----


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

* Re: setting security bits on UNIX
   ` Gregory Nowak
     ` Steve Holmes
@    ` Sean McMahon
  1 sibling, 0 replies; 6+ messages in thread
From: Sean McMahon @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Umask is only for setting the default security settings for that user.
----- Original Message ----- 
From: "Gregory Nowak" <greg@romuald.net.eu.org>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Sent: Monday, April 25, 2005 3:41 PM
Subject: Re: setting security bits on UNIX


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> chmod 755 filename
>
> Hth.
>
> Greg
>
>
> On Mon, Apr 25, 2005 at 03:38:26PM -0700, Ned wrote:
> > Hi all,
> >
> > I don't know how to take off protection from one of my files
> > Tried umask 022, umask 0, etc, nothing works. The chmod command didn't work
either. I don't know the values that I need to put in.
> > The ls -l fileName command should give me:
> > -rwxr-xr-x
> > but not all dashes as it does now.
> > It's an html file that needs to be read and executed by anybody.
> > Please help.
> >
> > Many thanks in advance!
> > Ned
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
> >
> > !DSPAM:426d71a4249891133470069!
> >
> >
>
> - -- 
> web site: http://www.romuald.net.eu.org
> gpg public key: http://www.romuald.net.eu.org/pubkey.asc
> skype: gregn1
> (authorization required, add me to your contacts list first)
>
> - --
> Free domains: http://www.eu.org/ or mail dns-manager@EU.org
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
>
> iD8DBQFCbXIL7s9z/XlyUyARApi8AJ0aECEVUCS2k6vF2IWro9gschBlSgCfWnJw
> Hcfl7cYNwYrgfR204nGdNnQ=
> =feVZ
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup



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

* Re: setting security bits on UNIX
   setting security bits on UNIX Ned
   ` Gregory Nowak
@  ` Joseph C. Lininger
   ` Ralph W. Reid
  2 siblings, 0 replies; 6+ messages in thread
From: Joseph C. Lininger @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Ned,
Wehn calculating the number you should pass to chmod, the following information is useful. read
is worth 4, write is worth 2, and execute is worth 1. Adding these gives you a single octal
number which represents the permition. Three of these numbers are used to represent user,
group, and world permitions. Thus rwxr-xr-x would be 755.

The umask command represents the permitions to remove from newly created files. You start with
666 for files and 777 for directories. Most systems use a umask of 022, which results in 644
for files and 755 for directories.

Equal causes can produce very unequal effects.
Joseph C. Lininger
jbahm@pcdesk.net
Verification: 5eab38a77ac40416e075be8f50607ff7

And so it came to pass that on Mon, 25 Apr 2005, Ned said

> Hi all,
>
> I don't know how to take off protection from one of my files
> Tried umask 022, umask 0, etc, nothing works. The chmod command didn't work either. I don't
know the values that I need to put in.
> The ls -l fileName command should give me:
> -rwxr-xr-x
> but not all dashes as it does now.
> It's an html file that needs to be read and executed by anybody.
> Please help.
>
> Many thanks in advance!
> Ned
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>



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

* Re: setting security bits on UNIX
   setting security bits on UNIX Ned
   ` Gregory Nowak
   ` Joseph C. Lininger
@  ` Ralph W. Reid
  2 siblings, 0 replies; 6+ messages in thread
From: Ralph W. Reid @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

I'm not sure why chmod won't work unless you are not the owner of the
file.  Try:

chmod 755 filename.html

where filename.html is the file you want to make available.  Umask is
used to set the default file permissions, not to change the
permissions on the fly.  See the man pages for chmod, umask, and bash
for more info.  HTH, and have a _great_ day.

On Mon, Apr 25, 2005 at 03:38:26PM -0700, Ned wrote:
> Hi all,
> 
> I don't know how to take off protection from one of my files
> Tried umask 022, umask 0, etc, nothing works. The chmod command didn't work either. I don't know the values that I need to put in.
> The ls -l fileName command should give me:
> -rwxr-xr-x
> but not all dashes as it does now.
> It's an html file that needs to be read and executed by anybody.
> Please help.
> 
> Many thanks in advance!
> Ned
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
Ralph.  N6BNO.  Wisdom comes from central processing, not from I/O.
rreid@sunset.net  http://personalweb.sunset.net/~rreid
...passing through The City of Internet at the speed of light!
y = x ^ LOG_B (x, y)


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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 setting security bits on UNIX Ned
 ` Gregory Nowak
   ` Steve Holmes
   ` Sean McMahon
 ` Joseph C. Lininger
 ` Ralph W. Reid

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