From xemacs-m  Sun Jul 13 00:11:18 1997
Received: from bittersweet.inetarena.com (karlheg@bittersweet.inetarena.com [206.129.216.38])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id AAA09358
	for <xemacs-beta@xemacs.org>; Sun, 13 Jul 1997 00:11:16 -0500 (CDT)
Received: (from karlheg@localhost)
	by bittersweet.inetarena.com (8.8.5/8.8.5) id WAA16141;
	Sat, 12 Jul 1997 22:10:46 -0700
To: XEmacs Beta <xemacs-beta@xemacs.org>
Subject: chmod o-r clears sgid bit on directory?
X-Face: /Q}=yl}1_v7nP)xXo5XjG8+tl@=uVu7o5u6)f]zN?+<hB!K.m9:[|*p34jVN`O;:XZXVSy>/\R>qDt(t8w!-i{(y0"`jFw^uk8inzO9wXabd'CdjUWfC\GHi:6nO*YC89#-qD>Q4r%9!V"<RYJ=7D#$";q=zML5'!=wvXk^$`6FT=5CMofQX)WUKt0p:OKl.mFOXx/D
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: karlheg+debian@inetarena.com (Karl M. Hegbloom)
Date: 12 Jul 1997 22:10:46 -0700
Message-ID: <87g1tjpmeh.fsf@bittersweet.inetarena.com>
Lines: 31
X-Mailer: Gnus v5.4.62/XEmacs 20.3(beta12) - "Helsinki"

 I was just useing XEmacs dired mode, in an xterm tty, as a pseudo
user who owns a smartlist mailing list.  The "/var/list/universe"
directory was:

drwxrwsr-x slarti list  /var/list/universe

... and I typed '-' with the cursor over the r for "others", in an
attempt to make the permissions be:

drwxrws--- slarti list /var/list/universe

... and the sgid bit[1] on the directory got cleared.  Is that a bug or a
feature?  Is clearing that read bit supposed to clear the sgid bit?

 It will not let me set the bit back to 's' either, unless I become
root.

 Using the chmod command from the shell does not cause the sgid bit to
be cleared like that, I have just verified.


Footnotes: 
[1]  The sgid bit on a directory, in Linux, makes it so file created
there will be group-owned by the directories group-owner.  This is
important so that smartlist can read and write to the directory.

-- 
mailto:karlheg+sig@inetarena.com (Karl M. Hegbloom)
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3  Linux 2.1.36 AMD K5 PR-133

