Tag Archives: linux

bash lore: NUL character and variables

Bash variables are often thought as being able to store any binary content. Please bear in mind that it can't store NUL character, and only this one. Here you are: $ ascii_table() { echo -en "$(echo '\'0{0..3}{0..7}{0..7} | tr -d …

Read more »

Using ACL on linux system to mimic samba’s “force user”

How to enforce samba-like policy upon file or directory creation at the filesystem level thanks to linux ACL.

Read more »