public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Heinz-Jürgen Oertel <oe@port.de>
To: Sebastien Barre <Sebastien.Barre@utc.fr>,
	Cygwin-32 <cygwin@sourceware.cygnus.com>
Subject: Re: [HELP] stat(), file permission, r/w access : i'm LOST :(
Date: Tue, 02 Mar 1999 03:26:00 -0000	[thread overview]
Message-ID: <36DBCB67.9185FAE1@port.de> (raw)
In-Reply-To: <4.1.19990302094806.016bc410@mail.club-internet.fr>

Sebastien Barre schrieb:
> 
> At 17:43 01/03/99 -0500, you wrote:
> 
>
> That sounds interesting, could you please be more specific, I'm not exactly
> a umask guru, and I have no man page. Thanks a lot for any help.
> 

       umask [-S] [mask]
              Display  or  set the file permission creation mask,
              or umask (see umask(2)).  If the -S option is used,
              the mask displayed or set is symbolic, otherwise it
              is an octal number.

              Symbolic masks are like those used by chmod(1):
                     [ugoa]{{=+-}{rwx}*}+[,...]
              in which the first group of characters is  the  who
              part, the second group is the op part, and the last
              group is the perm part.   The  who  part  specifies
              which  part  of  the  umask is to be modified.  The
              letters mean:
                      u      the user permissions

                      g      the group permissions

                      o      the  other  permissions   (non-user,
                             non-group)

                      a      all  permissions  (user,  group  and
                             other)

              The op part indicates how the who  permissions  are
              to be modified:

                      =      set

                      +      added to

                      -      removed from
              The perm part specifies which permissions are to be
              set, added or removed:

                      r      read permission

                      w      write permission

                      x      execute permission

              When symbolic masks are used,  they  describe  what
              permissions  may  be  made available (as opposed to
              octal masks in which a set  bit  means  the  corre­
              sponding   bit   is   to   be  cleared).   Example:
              `ug=rwx,o=' sets the mask  so  files  will  not  be
              readable,  writable  or executable by `others', and
              is equivalent (on most systems) to the  octal  mask
              `07'.



-- 
with best regards / mit freundlichen Grüßen

  Heinz-Jürgen Oertel

==========================================
Heinz-Juergen Oertel
port GmbH            phone +49 3493 743-10
Antonienstr. 3       fax   +49 3493 743-15
D-06749 Bitterfeld   mailto:service@port.de
Germany              http://www.port.de
==========================================

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

WARNING: multiple messages have this Message-ID
From: Heinz-Jürgen Oertel <oe@port.de>
To: Sebastien Barre <Sebastien.Barre@utc.fr>,
	Cygwin-32 <cygwin@sourceware.cygnus.com>
Subject: Re: [HELP] stat(), file permission, r/w access : i'm LOST :(
Date: Wed, 31 Mar 1999 19:45:00 -0000	[thread overview]
Message-ID: <36DBCB67.9185FAE1@port.de> (raw)
Message-ID: <19990331194500.c1eSun27Oazir4ewP-Q-smVGRM08V-0ejAsXMdXXV7Q@z> (raw)
In-Reply-To: <4.1.19990302094806.016bc410@mail.club-internet.fr>

Sebastien Barre schrieb:
> 
> At 17:43 01/03/99 -0500, you wrote:
> 
>
> That sounds interesting, could you please be more specific, I'm not exactly
> a umask guru, and I have no man page. Thanks a lot for any help.
> 

       umask [-S] [mask]
              Display  or  set the file permission creation mask,
              or umask (see umask(2)).  If the -S option is used,
              the mask displayed or set is symbolic, otherwise it
              is an octal number.

              Symbolic masks are like those used by chmod(1):
                     [ugoa]{{=+-}{rwx}*}+[,...]
              in which the first group of characters is  the  who
              part, the second group is the op part, and the last
              group is the perm part.   The  who  part  specifies
              which  part  of  the  umask is to be modified.  The
              letters mean:
                      u      the user permissions

                      g      the group permissions

                      o      the  other  permissions   (non-user,
                             non-group)

                      a      all  permissions  (user,  group  and
                             other)

              The op part indicates how the who  permissions  are
              to be modified:

                      =      set

                      +      added to

                      -      removed from
              The perm part specifies which permissions are to be
              set, added or removed:

                      r      read permission

                      w      write permission

                      x      execute permission

              When symbolic masks are used,  they  describe  what
              permissions  may  be  made available (as opposed to
              octal masks in which a set  bit  means  the  corre­
              sponding   bit   is   to   be  cleared).   Example:
              `ug=rwx,o=' sets the mask  so  files  will  not  be
              readable,  writable  or executable by `others', and
              is equivalent (on most systems) to the  octal  mask
              `07'.



-- 
with best regards / mit freundlichen Grüßen

  Heinz-Jürgen Oertel

==========================================
Heinz-Juergen Oertel
port GmbH            phone +49 3493 743-10
Antonienstr. 3       fax   +49 3493 743-15
D-06749 Bitterfeld   mailto:service@port.de
Germany              http://www.port.de
==========================================

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


  reply	other threads:[~1999-03-02  3:26 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-28 16:22 Cygwin participation threshold Christopher G. Faylor
     [not found] ` < 199903010022.QAA07416@rtl.cygnus.com >
1999-02-28 17:52   ` mySQL, mSQL, PostgreSQL with cygwin ? Sebastien Barre
1999-02-28 23:02     ` Stipe Tolj
1999-03-01  6:09       ` Sebastien Barre
     [not found]         ` < 4.1.19990301145716.017379b0@mail.club-internet.fr >
1999-03-01 13:28           ` [HELP] stat(), file permission, r/w access : i'm LOST :( Sebastien Barre
     [not found]             ` < 4.1.19990301211226.016b1250@mail.club-internet.fr >
1999-03-01 13:42               ` Larry Hall (RFK Partners, Inc)
     [not found]                 ` < 3.0.3.32.19990301163809.00994e00@pop.ma.ultranet.com >
1999-03-01 14:34                   ` Sebastien Barre
     [not found]                     ` < 4.1.19990301232226.01717350@mail.club-internet.fr >
1999-03-01 14:47                       ` Larry Hall (RFK Partners, Inc)
     [not found]                         ` < 3.0.3.32.19990301174320.0098ad30@pop.ma.ultranet.com >
1999-03-02  1:02                           ` Sebastien Barre
1999-03-02  3:26                             ` Heinz-Jürgen Oertel [this message]
1999-03-31 19:45                               ` Heinz-Jürgen Oertel
     [not found]                             ` < 4.1.19990302094806.016bc410@mail.club-internet.fr >
1999-03-02 23:55                               ` Geoffrey Noer
1999-03-31 19:45                                 ` Geoffrey Noer
1999-03-31 19:45                             ` Sebastien Barre
1999-03-02  3:04                           ` Lassi A. Tuura
1999-03-31 19:45                             ` Lassi A. Tuura
1999-03-06  2:49                           ` Sebastien Barre
     [not found]                             ` < 4.1.19990305214515.016caba0@mail.club-internet.fr >
1999-03-06 11:04                               ` Larry Hall
1999-03-31 19:45                                 ` Larry Hall
1999-03-31 19:45                             ` Sebastien Barre
1999-03-31 19:45                         ` Larry Hall (RFK Partners, Inc)
1999-03-31 19:45                     ` Sebastien Barre
1999-03-31 19:45                 ` Larry Hall (RFK Partners, Inc)
1999-03-01 13:55             ` John Fortin
     [not found]               ` < 36DB0B4F.8FC8757@ibm.net >
1999-03-01 14:33                 ` Sebastien Barre
     [not found]                   ` < 4.1.19990301232512.01714e60@mail.club-internet.fr >
1999-03-01 14:39                     ` DJ Delorie
1999-03-31 19:45                       ` DJ Delorie
1999-03-31 19:45                   ` Sebastien Barre
1999-03-31 19:45               ` John Fortin
1999-03-31 19:45             ` Sebastien Barre
1999-03-07  9:11         ` mySQL, mSQL, PostgreSQL with cygwin ? Stipe Tolj
1999-03-31 19:45           ` Stipe Tolj
1999-03-31 19:45         ` Sebastien Barre
1999-02-28 23:02     ` Sebastien Barre
1999-02-28 23:02 ` Cygwin participation threshold Christopher G. Faylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=36DBCB67.9185FAE1@port.de \
    --to=oe@port.de \
    --cc=Sebastien.Barre@utc.fr \
    --cc=cygwin@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).