Re: [OmniOS-discuss] /usr/bin/chmod and the set-gid-bit

2013-08-07 Thread Hugh McIntyre
On 8/7/13 10:14 AM, Tim Rice wrote: On Wed, 7 Aug 2013, Tobias Oetiker wrote: Hi, /usr/bin/chmod seems to ignore the set-group-id bit when called with an octal permission string. try this on a zfs filesystem That behavior seems to be intentional for directories and is documented in the man p

Re: [OmniOS-discuss] /usr/bin/chmod and the set-gid-bit

2013-08-07 Thread Tim Rice
On Wed, 7 Aug 2013, Tobias Oetiker wrote: > Hi, > > /usr/bin/chmod seems to ignore the set-group-id bit when called > with an octal permission string. try this on a zfs filesystem That behavior seems to be intentional for directories and is documented in the man page. It has been that way a long

[OmniOS-discuss] /usr/bin/chmod and the set-gid-bit

2013-08-07 Thread Tobias Oetiker
Hi, /usr/bin/chmod seems to ignore the set-group-id bit when called with an octal permission string. try this on a zfs filesystem export PATH=/usr/bin umask 022 mkdir gd ls -ld gd chmod 2770 gd ls -ld gd chmod g+s gd ls -ld gd chmod 0770 gd ls -ld gd running this with truss r