System wide umask
- From: Jean-Marc Monnez <monnez.jean-marc@xxxxxxxxxxxx>
- Date: Fri, 21 Apr 2006 11:34:45 +0200
Hello all,
Since years, I have used a default umask of 022, and changed it only for
specific operations.
I have to work on AIX 5.2 (I'm no admin there), and I discover that
umask is 027 !!!
Do you know if this is linked to AIX version, ksh version ?
Seems that when I change it by hand, the new value is inherited by child
ksh.
Is it possible to change this umask and put it back to 022 "system-wide"
? Where ?
Or do I have to modify each and every script, .profile and .kshrc and
add "umask 022" ?
TIA
-- JMM
-----------------------------
Jean-Marc MONNEZ
MSA / AGORA / ATD
monnez.jean-marc@xxxxxxxxxxxx
-----------------------------
Ce message est protégé par les règles relatives au secret des correspondances. Il est donc établi à destination exclusive de son destinataire. Celui-ci peut donc contenir des informations confidentielles. La divulgation de ces informations est à ce titre rigoureusement interdite. Si vous avez reçu ce message par erreur, merci de le renvoyer à l'expéditeur dont l'adresse e-mail figure ci-dessus et de détruire le message ainsi que toute pièce jointe.
This message is protected by the secrecy of correspondence rules. Therefore, this message is intended solely for the attention of the addressee. This message may contain privileged or confidential information, as such the disclosure of these informations is strictly forbidden. If, by mistake, you have received this message, please return this message to the addressser whose e-mail address is written above and destroy this message and all files attached.
- Follow-Ups:
- Re: System wide umask
- From: Soós Zoltán
- Re: System wide umask
- Prev by Date: Re: VIO Issue
- Next by Date: Re: System wide umask
- Previous by thread: Re: ssa raid5 pdisk1 bad.
- Next by thread: Re: System wide umask
- Index(es):
Relevant Pages
- Re: setuid/sticky bit on directories
... I think what you are looking for is a umask. ... make your own recomendations.
... to keep changing the ownership of new files, ... New to AIX? ...
(AIX-L) - Re: modifing existing Excel cells using perl in Unix possible?
... permissions. ... What sort of AIX are you using to say that? ...
$ oslevel -r ... (comp.lang.perl.misc) - [OT] Customizing ICE.TCP scripting
... odmFTP'ing in on a manual basis to an AIX 5.1 client via James River's
ICE.TCP, I have the option to change the umask. ... (AIX-L) - Re: File Permissions
... > UNIX?, KSH?. ... behavior for the other bits via umask. ...
does not *set* the permissions for a newly created file, ... jens@crowley:~> touch
testfile ... (comp.unix.questions)