On Thu, 2003-06-19 at 10:58, Jianping Zhu wrote:
> On Thu, Jun 19, 2003 at 10:58:28AM -0500, Bret Hughes wrote:
> > On Thu, 2003-06-19 at 09:42, Esler, Joel Contractor wrote:
> > > Does the directory have a executable bit set on it for the group?
> > > 
> > > J
> > > 
> > 
> > IIRC that will keep group ownership the same as the dir but not affect
> > the umask.  You probably will need to open up the umask if you want the
> > file to be group writable.
> > 
> > Bret
> Thank you for your reply
> i am very new to linux, how can i "open up" the umask?
> 

The default umask is set in /etc/bashrc. exactly what logic is used
debends on the version but typically any non system users (uid>99 on my
rh7.3 box)  gets a umask of 002 this means files created cannot have the
others writable bit set.  022 says not to allow group or others
writable.

If, as in your orig post the users under consideration have th umask set
to 022 then either the default has been changed ( /etc/bashrc) or the
usmask is explicitly being set somewhere else.  Most likely ~/.bashrc (
~ = users home dir).

the umask command will tell you what the umask is and man bash will give
you lots of info about the umask.  info chmod is not a bad place to
start reading about file permissions. There is a *File Permissions link
in the info page.

HTH

Bret  


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to