Mail from ILUG-BOM list (Non-Digest Mode)

ouch...
didnt have section 2 & 3 installed...;-)
thanks!
kishor
----- Original Message ----- 
From: Pablo Ares Gastesi <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 10, 2000 11:51 AM
Subject: Re: [ILUG-BOM] umask behaviour


> Mail from ILUG-BOM list (Non-Digest Mode)
> 
> > 
> > # umask
> > 022
> > # touch new
> > # ls -l new
> > -rw-r--r--    [snip]
> > 
> > The execute permissions arent turned off... still ''new''  doesnt have
> > them...what is the reason for this, and how is it done?
> 
> From the umask(2) man page:
> 
>        The  umask  is used by open(2) to set initial file permis-
>        sions on a newly-created file.  Specifically,  permissions
>        in  the  umask  are  turned  off from the mode argument to
>        open(2) (so, for example, the common umask  default  value
>        of 022 results in new files being created with permissions
>        0666 & ~022 = 0644 = rw-r--r-- in the usual case where the
>        mode is specified as 0666).
> 
> Pablo.
> ---------------------------------------------------------------------- 
> Pablo Ares Gastesi. School of Mathematics, TIFR, Mumbai 400 005, INDIA
> [EMAIL PROTECTED] http://www.math.tifr.res.in/~pablo/
> Key fingerprint =  1A 7C 0A 22 5A 75 A4 78  62 6F 64 09 C1 A0 F7 E6
> ---------------------------------------------------------------------- 
> _______________________________________________
> Website: http://www.ilug-bom.org.in/ilug
> Linuxers mailing list
> [EMAIL PROTECTED]
> http://ilug-bom.org.in/mailman/listinfo/linuxers


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

_______________________________________________
Website: http://www.ilug-bom.org.in/ilug
Linuxers mailing list
[EMAIL PROTECTED]
http://ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to