Bug 70833 - /bin/chmod o=u is broken (omits write bit)
Summary: /bin/chmod o=u is broken (omits write bit)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: fileutils
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: wdovlrrw
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-08-05 22:31 UTC by Need Real Name
Modified: 2007-04-18 16:45 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-08-05 22:31:42 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2002-08-05 22:31:38 UTC
Description of Problem:

    /bin/chmod o=u is broken (omits write bit) see below:

Version-Release number of selected component (if applicable):

    fileutils-4.1-10

How Reproducible:

    always

Steps to Reproduce:

    $ umask 0
    $ umask
    0000
    $ touch foo
    $ /bin/chmod 700 foo
    $ ls -l foo
    -rwx------    1 corey    wheel           0 Aug  5 14:24 foo
    $ /bin/chmod o=u foo

Actual Results:

    $ ls -l foo
    -rwx---r-x    1 corey    wheel           0 Aug  5 14:24 foo

Expected Results:

    $ ls -l foo
    -rwx---rwx    1 corey    wheel           0 Aug  5 14:24 foo


Additional Information:

    I'm told this is broken in 7.2 as well.
    Old chmod binary from 6.x works right under 7.3

Comment 1 Mike McLean 2002-08-06 15:30:23 UTC
This bug appears to be fixed in fileutils-4.1.9-4.
CLOSED->RAWHIDE



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