Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am editing file /proc/self/make-it-fail from root user. This file is having write permission but update not possible, showing "E667: Fsync failed" error.

share|improve this question

1 Answer 1

How did you edit it? I would do:

echo 1 > /proc/self/make-it-fail

These 'files' in proc are not like files on disks. The 'file' is pure code, using open and read/write as interfaces to the kernel. As such, editors may make system calls that are not supported on these files. I would limit "editing" to tools such as cat and echo.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.