-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 08 November 2004 05:15 am, Clive Menzies wrote: > On (07/11/04 18:04), Ali Alphan Bayazit wrote: > > On Sun, 2004-11-07 at 22:05 +0000, Clive Menzies wrote: > > > Hi > > > > hello, > > > > > In my .bashrc and .bash_profile I have umask set at 022 however when I > > > create a file, the permissions look like this: > > > > > > -rw-r--r-- > > > > that looks correct to me, (r=4,w=2,x=1) > > mask 666 using 022 = 644 > > My understanding is that it is mask 777 using 022 = 755
666 - 022 = 644 (This is applicable for files) 777 - 022 = 755 (This is applicable for folders) rrs - -- Ritesh Raj Sarraf RESEARCHUT -- http://www.researchut.com Gnupg Key ID: 04F130BC "Stealing logic from one person is plagiarism, stealing from many is research". -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBjwbP4Rhi6gTxMLwRAnvRAJ9LVpk+llQZYldiVJb3c7lRZiaceQCbBsjg lANZguArcqEkizYEhTY5QAM= =Sq3w -----END PGP SIGNATURE-----