URL: <http://savannah.gnu.org/bugs/?25848>
Summary: chmod fails to clear sgid bit on absolute changes Project: GNU Core Utilities Submitted by: dzu Submitted on: Fri Mar 13 14:30:34 2009 Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: I first discovered this in 6.10 but also see it in 7.1: d...@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 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?25848> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils