Re: chmod set-gid/set-uid behavior change issues

2006-07-27 Thread Jim Meyering
Paul Eggert <[EMAIL PROTECTED]> wrote: > Jim Meyering <[EMAIL PROTECTED]> writes: >>> If we remove this feature, I'd like to change things to be 100% >>> consistent with Solaris, and to preserve the setgid bit even if the >>> user says "chmod 0755 DIR". >> >> I think that is the right approach. > >

Re: chmod set-gid/set-uid behavior change issues

2006-07-27 Thread Jim Meyering
[EMAIL PROTECTED] (Bob Proulx) wrote: > Paul Eggert wrote: >> * tests/cp/fail-perm: Use "chmod 0500" rather than "chmod 500". >> --- tests/cp/fail-perm 28 May 2006 12:11:35 - 1.10 >> +++ tests/cp/fail-perm 25 Jul 2006 18:37:23 - >> -chmod 500 D || framework_failure=1 >

Re: chmod set-gid/set-uid behavior change issues

2006-07-27 Thread Bob Proulx
> ** Changes in behavior The tests/mkdir/special-1 test also now fails. Summary: drwxr-s-wT != drwxr-x-wT Proposed change: -set_mode_string=u=rwx,g=rx,o=w,go+t +set_mode_string=u=rwx,g=rx,o=w,go+t,ug-s Drift: What is the meaning of g+t in this context? Bob env VERBOSE=yes make check TESTS=

Re: chmod set-gid/set-uid behavior change issues

2006-07-27 Thread Bob Proulx
Paul Eggert wrote: > * tests/cp/fail-perm: Use "chmod 0500" rather than "chmod 500". > --- tests/cp/fail-perm28 May 2006 12:11:35 - 1.10 > +++ tests/cp/fail-perm25 Jul 2006 18:37:23 - > -chmod 500 D || framework_failure=1 > +chmod 0500 D || framework_failure=1 Di

Re: Getting a file_t from a file descriptor

2006-07-27 Thread Alfred M. Szmidt
> While I'm not that proficient in these issues, Nor am i. But I am. > /* Return the io server port for file descriptor FD. This adds a >Mach user reference to the returned port. On error, sets >`errno' and returns MACH_PORT_NULL. */ Thanks, that looks quite promisi