Dan Nicholson wrote:
> On 12/20/05, Jeremy Huntwork <[EMAIL PROTECTED]> wrote:
[snip]
>>However, if I'm reading the script correctly, this actually happens when
>>the user and group name *are* the same and it's an id above 99:
>>
>>if [ "$(id -gn)" = "$(id -un)" -a $EUID -gt 99 ] ; then
>>  umask 002
> 
> 
> That's right.  The default is 022.  This tests whether normal users
> (UID>99) have the same user and group name.  If they are, then they
> create group writable files and directories with a new umask. 
> Possibly the umask notation's throwing you for a loop?

No, I think you missed my point. The paragraph says that we're ensuring
that group write permissions are turned off when the user name and group
name *are not* the same. But the script tests to make sure that they
*are* the same and then issues uname 002.

--
JH
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to