add linux specific behaviour in directory