4 desc="chmod returns ENOTDIR if a component of the path prefix is not a directory"
14 expect 0 mkdir ${n0} 0755
15 for type in regular fifo block char socket; do
16 create_file ${type} ${n0}/${n1}
17 expect ENOTDIR chmod ${n0}/${n1}/test 0644
18 expect 0 unlink ${n0}/${n1}