Bug 10077 - bug in install creating setgid directory
bug in install creating setgid directory
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: fileutils (Show other bugs)
6.1
All Linux
medium Severity low
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-03-08 20:09 EST by Paul Wouters
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-03-08 20:15:19 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Paul Wouters 2000-03-08 20:09:33 EST
[root@bofh /]# install -d /tmp/xxx -g bin -m 6775
[root@bofh /]# ls -ld /tmp/xxx
drwxrwxr-x   2 root     root         1024 Mar  9 02:17 /tmp/xxx
[root@bofh /]# install -d /tmp/xxx -g bin -m 6775
[root@bofh /]# ls -ld /tmp/xxx
drwsrwsr-x   2 root     bin          1024 Mar  9 02:17 /tmp/xxx

Install is likely first doing the chmod() call and only then the chown()
call instead of the other way around.
Comment 1 Bernhard Rosenkraenzer 2000-03-08 20:15:59 EST
Fixed.

Note You need to log in before you can comment on or make changes to this bug.