Bug 10077 - bug in install creating setgid directory
Summary: bug in install creating setgid directory
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: fileutils
Version: 6.1
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-03-09 01:09 UTC by Paul Wouters
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-03-09 01:15:19 UTC
Embargoed:


Attachments (Terms of Use)

Description Paul Wouters 2000-03-09 01:09:33 UTC
[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-09 01:15:59 UTC
Fixed.


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