[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: chmod set-gid/set-uid behavior change issues
From: |
Paul Eggert |
Subject: |
Re: chmod set-gid/set-uid behavior change issues |
Date: |
Thu, 27 Jul 2006 02:36:07 -0400 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Eric Blake <address@hidden> writes:
> Should we document "chmod 00500 dir" as an explicit way to clear the bit,
> or just require a textual mode string?
Are you proposing that a directory's setgid bit be preserved if 4 or
fewer octal digits are used, and be set or cleared if 5 or more are
used? That would be yet another way to handle the problem, I suppose.
Anyway, the current CVS coreutils documents the current CVS behavior,
which is that "chmod 0500 dir" clears the setgid bit, but "chmod 500
dir" preserves it. If we want to change the behavior I plan to change
both code and documentation.
- chmod set-gid/set-uid behavior change issues, Bob Proulx, 2006/07/25
- Re: chmod set-gid/set-uid behavior change issues, Paul Eggert, 2006/07/25
- Re: chmod set-gid/set-uid behavior change issues, Jim Meyering, 2006/07/26
- Re: chmod set-gid/set-uid behavior change issues, Paul Eggert, 2006/07/27
- Re: chmod set-gid/set-uid behavior change issues, Jim Meyering, 2006/07/27
- Re: chmod set-gid/set-uid behavior change issues, Paul Eggert, 2006/07/28
- Re: chmod set-gid/set-uid behavior change issues, Jim Meyering, 2006/07/28
- Comment fix in modechange.h, Paul Eggert, 2006/07/28
Re: chmod set-gid/set-uid behavior change issues, Bob Proulx, 2006/07/27
Re: chmod set-gid/set-uid behavior change issues, Bob Proulx, 2006/07/27
Re: chmod set-gid/set-uid behavior change issues, Bob Proulx, 2006/07/27