Path: utzoo!attcan!sobmips!uunet!aplcen!samsung!usc!snorkelwacker!spdcc!merk!xylogics!cloud9!jjmhome!m2c!umvlsi!chittamu From: chittamu@umvlsi.ecs.umass.edu (Satish Kumar .C) Newsgroups: comp.unix.questions Subject: Re: files recovery after rm? Message-ID: <518@umvlsi.ecs.umass.edu> Date: 13 Nov 89 19:07:56 GMT References: <16608@uhnix1.uh.edu> <20530@unix.cis.pitt.edu> <1989Nov9.162314.4713@virtech.uucp> <20551@unix.cis.pitt.edu> <1989Nov10.012648.8942@rpi.edu> <20559@unix.cis.pitt.edu> <15844@bloom-beacon.MIT.EDU> Reply-To: chittamu@cs.umass.edu (Satish Kumar .C) Organization: University of Massachusetts, Amherst Lines: 24 In article <15844@bloom-beacon.MIT.EDU> jik@athena.mit.edu (Jonathan I. Kamens) writes: >Mr. Moore, . . . > As has already been pointed out to you, setting your umask to 077 >will cause all files created by you to have permissions ---rw-rw- or >---rwxrwx. Meaning that you can't read them or execute them. I doubt >that's really what's happening, unless you do very strange things with >your account. A minor correction. The low order 9 bits of the umask value are used to clear the corresponding bits in the mode pattern used to create a file. So a umask value of 077 would make your file unreadable, unwritable and unexecutable by either group or others, i.e. your mode will be -rwx------ or some subset thereof. -- -Satish. chittamu@cs.umass.edu -- The Theory of Objectivity: E = mc++