On Mon, Apr 24, 2000 at 11:52:25AM -0500, Mate Wierdl wrote:
> From: Mate Wierdl <[EMAIL PROTECTED]>
> To: Qmail List <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
> Mail-Followup-To: Qmail List <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> 
> This is a bit offtopic: I was about to upload an init/run scripts
> package when I noticed they would not work properly.  The reason: the
> install and mkdir programs of the GNU fileutils package on RH 6.1 do
> not handle special bits properly.  Consider

On Debian GNU/Linux, version 2.2, which comes with fileutils
4.0l, I see mkdir behaving properly, while install seems broken:

root@nagy /tmp/c# install -d -m2755 install
root@nagy /tmp/c# mkdir -p -m2755 mkdir
root@nagy /tmp/c# ls -ld install mkdir
drwxr-xr-x    2 root     root         1024 Apr 25 14:28 install
drwxr-sr-x    2 root     root         1024 Apr 25 14:28 mkdir

On a SuSE 6.3 box, with fileutils 4.0, the result is:

drwxr-xr-x   2 vanbaal  users        1024 Apr 25 14:39 install
drwxr-xr-x   2 vanbaal  users        1024 Apr 25 14:39 mkdir

I think mkdir was fixed in 4.0l, the fileutils changelog says:

1999-11-17  Jim Meyering  <[EMAIL PROTECTED]>

        * src/mkdir.c (S_IRWXUGO): Define if necessary.
        (main): Use chmod to set the permissions if bits other than those
        of S_IRWXUGO were requested.  Reported by Sami Farin.

Apparently, this fix didn't make it into install.c.

I'll report a bug against it. Thanks for pointing this out.

Let's mail followups to [EMAIL PROTECTED], not
[EMAIL PROTECTED]

Bye,

Joost van Baal


Reply via email to