Simon Toedt
2013-12-03 11:28:42 UTC
I think I found a bug in mktemp(1)'s -p option:
If I use mktemp(1) with -p in an O_XATTR directory it returns a path
in /tmp instead:
/bin/ksh -c 'builtin mktemp ; touch x1 ; cd -@ x1 ; mktemp -p "$PWD" ;
:'
/tmp/tmp246Y9N0.EZ3
I would've expected the path to be like this one:
/dev/file/xattr@/home/stoe/x1//@//tmp246Y9N0.EZ3
Simon
If I use mktemp(1) with -p in an O_XATTR directory it returns a path
in /tmp instead:
/bin/ksh -c 'builtin mktemp ; touch x1 ; cd -@ x1 ; mktemp -p "$PWD" ;
:'
/tmp/tmp246Y9N0.EZ3
I would've expected the path to be like this one:
/dev/file/xattr@/home/stoe/x1//@//tmp246Y9N0.EZ3
Simon