the corner office : tech blog

a tech blog, by Colin Pretorius

Sticky bits in octal

I learned an interesting thing today.

You can set sticky bits (in my case, setgid) using octal notation in chmod, but you can't unset sticky bits using octal, because it would have broken backwards compatibility.

For that, you need to use symbolic notation, eg. chmod g-s.

More

{2020.10.31 10:03}

« Note Taking Apps