[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: strange umask behaviour



On (08/11/04 11:25), Ritesh Raj Sarraf wrote:
> -----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)
Thanks Ritesh

-- 
www.clivemenzies.co.uk ...
...strategies for business




Reply to: