bug#23853: chmod can unset sticky bits using octet format

2018-10-28 Thread Assaf Gordon
close 23853 stop (triaging old bugs) On 2016-06-27 8:13 a.m., Eric Blake wrote: On 06/26/2016 06:56 PM, westlake wrote: contrary to documentation, chmod can otherwise clear sticky bits using the octet notation but by using a 5th octal [...] The behavior of the 5th octal to intentionally

bug#23853: chmod can unset sticky bits using octet format

2016-06-27 Thread Eric Blake
On 06/26/2016 06:56 PM, westlake wrote: > According to chmod's manpage, > "chmod preserves a directory's set-user-ID and set-group-ID bits unless > you explicitly specify otherwise. You can set or clear the bits with > symbolic modes like u+s and g-s, and you can set (but not clear) the > bits

bug#23853: chmod can unset sticky bits using octet format

2016-06-26 Thread westlake
According to chmod's manpage, "chmod preserves a directory's set-user-ID and set-group-ID bits unless you explicitly specify otherwise. You can set or clear the bits with symbolic modes like u+s and g-s, and you can set (but not clear) the bits with a numeric mode." contrary to