Skip to contentSkip to conversation

silent semantic changes with reiser4

DISCUSSION Samium Gromoff 1 participant 1 message Sep 1, 2004

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines · Alexander Viro

Arguments about O_NOFOLLOW on the intermediate stages are bullshit, IMNSHO - if they want to make some parts of tree inaccessible, they should simply mkdir /tmp/FOAD; chmod 0 /tmp/FOAD; mount --bind /tmp/FOAD <blocked path> in the namespace their daemon is running in. And forget all that crap about filtering pathnames and blocking symlinks on intermediate stages the latter is obviously worthless without the former since one can simply substitute the symlink body in the pathname).

This made me wonder -- why not have a dedicated /dev/noaccess special node for exactly such patterns of usage?

Yes that`ll made it Linux-specific and such... but hey -- if it saves someone for for literally (?) no cost why not?

regards, Samium Gromoff