bug#29390: chmod man page - clear setuid/setgid with numerical value

2017-12-09 Thread Pádraig Brady
On 21/11/17 18:46, Oliver Isaac wrote: > Hello, > > There is an incorrect assertion made in the chmod man page: > > Under the setuid/setgid header it says, "you can set (but not clear) the bits > with a numeric mode" > > This is not entirely true. If you prefix your numeric mode with a 0 then

bug#29390: chmod man page - clear setuid/setgid with numerical value

2017-11-21 Thread Oliver Isaac
Hello, There is an incorrect assertion made in the chmod man page: Under the setuid/setgid header it says, "you can set (but not clear) the bits with a numeric mode" This is not entirely true. If you prefix your numeric mode with a 0 then it will work: e.g.: touch myfile chmod 644 myfile ls