found 37150 5.93-5
stop

I tested install 5.93 and the bug (or feature) is still there.

That is,

    install -d -m 0755 foo

creates a directory foo with g+s perm if foo's parent has s perm.
This does look like a bug to me.

[EMAIL PROTECTED]:/$ ls -l /tmp/w
total 4
drwxr-sr-x 2 jdthood jdthood 4096 2005-12-16 15:16 a
[EMAIL PROTECTED]:/$ ls -l /tmp/w/a
total 0
[EMAIL PROTECTED]:/$ install -m 0755 -d /tmp/w/a/foo
[EMAIL PROTECTED]:/$ ls -l /tmp/w/a
total 4
drwxr-sr-x 2 jdthood jdthood 4096 2005-12-16 15:16 foo

[EMAIL PROTECTED]:/$ install --version
install (GNU coreutils) 5.93

-- 
Thomas Hood


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to