bugGNU Core Utilities - Bugs: bug #25848, chmod fails to clear sgid bit on...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #25848: chmod fails to clear sgid bit on absolute changes

Submitter:  Detlev Zundel <dzu>
Submitted:  Fri 13 Mar 2009 02:30:34 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  In Progress
Privacy:  Public Assigned to:  meyering
Open/Closed:  Closed

Fri 13 Mar 2009 04:01:15 PM UTC, comment #1: 

Thanks for the report, but that is the documented behavior:

  info coreutils 'file perm' dir

Jim Meyering <meyering>
Group administrator
Fri 13 Mar 2009 02:30:34 PM UTC, original submission:  

I first discovered this in 6.10 but also see it in 7.1:

dzu@ohwell:tmp[0]$ $p/chmod --version ; mkdir foo ; $p/chmod 3777 foo ; ls -ld foo ; $p/chmod 0 foo ; ls -ld foo
chmod (GNU coreutils) 7.1
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David MacKenzie and Jim Meyering.
drwxrwsrwt 2 dzu dzu 4096 2009-03-13 15:28 foo
d-----S--- 2 dzu dzu 4096 2009-03-13 15:28 foo

Detlev Zundel <dzu>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by meyering (Posted a comment)
  • -email is unavailable- added by dzu (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-08-21 meyering Open/ClosedOpen Closed
    2009-03-13 meyering StatusNone In Progress
        Assigned toNone meyering

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code