(1) What files exactly? in
/proc or /sys maybe? (2) What is the exact error? (3) Is FUSE involved? (4) Please make sure there is no XY problem here. If writing to the file is just your attempt to solve some other specific problem, then consider asking directly about the problem.