Thanks all. It turned out to a permissions problem. Fixed with: chmod a=wrx /stuff or something like that.