can someone who can reproduce the failure do
        {
        df /tmp
        rm -rf /tmp/command
        umask
        truss /bin/ksh93 -c 'mkdir -m 1777 /tmp/command'
        } > test.out 2>&1
and send me test.out
thanks

On Wed, 7 Apr 2010 08:04:21 -0600 (MDT) bugmail-sen...@sun.com wrote:
> *Synopsis*: ksh93 mkdir -m 1777 fails to set sticky bit

> CR 6941538 changed on Apr 7 2010 by <User 1-5Q-1267>

> === Field ============ === New Value ============= === Old Value =============

> Keyword                ksh93                                                  
> ====================== =========================== ===========================

>      
> *Change Request ID*: 6941538

> *Synopsis*: ksh93 mkdir -m 1777 fails to set sticky bit

>   Product: solaris
>   Category: shell
>   Subcategory: korn93
>   Type: Defect
>   Subtype: 
>   Status: 1-Dispatched
>   Substatus: 
>   Priority: 2-High
>   Introduced In Release: 
>   Introduced In Build: 
>   Responsible Engineer: 
>   Keywords: ksh93, opensolaris

> === *Description* ============================================================
> Category
>     shell
> Sub-Category
>     korn93
> Description
>     The following command sequence illustrates the problem:
> # /bin/ksh93      
> # type mkdir
> mkdir is a shell builtin version of /usr/bin/mkdir
> # mkdir -m 1777 /tmp/builtin 
> # /usr/bin/mkdir -m 1777 /tmp/command
> # ls -ld /tmp/builtin /tmp/command
> drwxrwxrwx   2 root     root          69 Apr  7 12:19 /tmp/builtin   
> drwxrwxrwt   2 root     root          69 Apr  7 12:19 /tmp/command
> Frequency
>     Always
> Regression
>     no
> Steps to Reproduce
>     See above.
> Expected Result
>     Sticky bit in -m argument is honored.
> Actual Result
>     Sticky bit is simply ignored.
> Error Message(s)
>     
> Test Case
>     
> Workaround
>     
> Additional configuration information

> *** (#1 of 1): 2010-04-07 10:22:25 GMT+00:00 <User 1-9HOB9N>

> === *Public Comments* ========================================================

> === *Workaround* =============================================================

> === *Additional Details* =====================================================
>         Targeted Release: 
>         Commit To Fix In Build: 
>         Fixed In Build: 
>         Integrated In Build: 
>         Verified In Build: 
>   See Also: 
>   Duplicate of: 
>   Hooks:
>         Hook1: 
>         Hook2: 
>         Hook3: 
>         Hook4: 
>         Hook5: 
>         Hook6: <email address omitted>
>   Program Management: 
>   Root Cause: 
>   Fix Affects Documentation: No
>   Fix Affects Localization: No

> === *History* ================================================================
>         Date Submitted: 2010-04-07 10:22:24 GMT+00:00
>         Submitted By: <User 1-9HOB9N>

>         Status Changed    Date Updated                  Updated By

> === *Service Request* ========================================================
>         Impact: Significant
>         Functionality: Primary
>         Severity: 2
>         Product Name: solaris
>         Product Release: solaris_nevada
>         Product Build: snv_134
>         Operating System: solaris_nevada
>         Hardware: generic
>         Submitted Date: 2010-04-07 10:22:25 GMT+00:00

> === *Multiple Release (MR) Cluster* - 0 ======================================

> _______________________________________________
> ksh93-integration-discuss mailing list
> ksh93-integration-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/ksh93-integration-discuss

_______________________________________________
ksh93-integration-discuss mailing list
ksh93-integration-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/ksh93-integration-discuss

Reply via email to