Hi,
As you see, I reported this bug to bugs.debian.org. Now it's where it
should be posted finally.
Bye,
Joost
----- Forwarded message from [EMAIL PROTECTED] -----
Date: 25 Apr 2000 13:36:07 -0000
From: [EMAIL PROTECTED]
Subject: fileutils: install does not handle high permission bits
To: [EMAIL PROTECTED]
Package: fileutils
Version: 4.0l-6
Severity: normal
install does not respect the other than S_IRWXUGO bits in it's
-m flag. FYI, mkdir _does_.
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/
It seems, mkdir was fixed in fileutils 4.0j: it's 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.
mkdir does a chmod call. install does not. perhaps adding the call
could fix it.
Thanks to Mate Wierdl <[EMAIL PROTECTED]> for pointing to
the bug on Qmail List <[EMAIL PROTECTED]>.
Bye,
Joost van Baal
-- System Information
Debian Release: 2.2
Kernel Version: Linux nagy 2.2.14 #1 Tue Apr 18 13:49:13 CEST 2000 i686 unknown
Versions of the packages fileutils depends on:
ii libc6 2.1.3-8 GNU C Library: Shared libraries and Timezone
----- End forwarded message -----