Bug 10077 - bug in install creating setgid directory
Summary: bug in install creating setgid directory
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: fileutils   
(Show other bugs)
Version: 6.1
Hardware: All Linux
medium
low
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
URL:
Whiteboard:
Keywords:
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:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-03-09 01:15:19 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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.