John Gatewood Ham wrote: > I was under the impression 0700 was the octal code and would thus > result in 0700 permissions, not leaving 2700 permissions. How > can I use the octcal code to get 0700 permissions for a directory > with 2700 permissions? I tried 00700 but that didn't matter. I know > I can do 'chmod g-s testme' but since I can set the setgid flag > with octal codes I would like to be able to unset the setgid flag > with octal codes as well. I was able to achieve this in 2 steps > with 'chmod 0 testme' followed by 'chmod 0700 testme'. Can it be > done in 1 step using an octal number?
Read these threads for the past history on this behavior: http://lists.gnu.org/archive/html/bug-coreutils/2006-07/msg00125.html http://lists.gnu.org/archive/html/bug-coreutils/2007-05/msg00132.html Brian _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils