> + file = debugfs_create_file("device", S_IRUGO | S_IWUGO, dir, ^^^^^^^> + NULL, &ft1000fops);Don't make this world writeable.regards,dan carpenter