write: Operation not permitted