Bug 10077 - bug in install creating setgid directory
bug in install creating setgid directory
Product: Red Hat Linux
Classification: Retired
Component: fileutils (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
Depends On:
  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:
Last Closed: 2000-03-08 20:15:19 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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

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