Constant linux_api::errno::errno_base::EROFS [] [src]

pub const EROFS: c_int = 30

You're trying to write to a read-only file system.