Bug 63906 - chmod o=u not working as expected
chmod o=u not working as expected
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: fileutils (Show other bugs)
7.3
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: wdovlrrw
Aaron Brown
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-04-21 09:35 EDT by Michael Redinger
Modified: 2007-04-18 12:42 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-04-21 09:35:05 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Michael Redinger 2002-04-21 09:35:01 EDT
chmod g=u does not work as expected. The write privilege is removed. 
This not very logical and differs from other Unix platforms (I tried Irix, 
Solaris and AIX). 
(I think this was done for security reasons. But this is not Windows. I want 
to shoot myself in the foot! :) 
 
> touch xxx 
> chmod 700 xxx   
> ls -l xxx 
-rwx------    1 user   user          0 Apr 21 15:24 xxx 
> chmod g=u xxx 
> ls -l xxx 
-rwxrwx---    1 user   use          0 Apr 21 15:24 xxx 
> chmod o=u xxx 
> ls -l xxx 
-rwxrwxr-x    1 user   user          0 Apr 21 15:24 xxx
Comment 1 Bernhard Rosenkraenzer 2002-08-29 19:08:05 EDT
Agreed, changed in 4.1.9-*

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