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.

While searching for files writable by others, I'm coming across many files available in subdirectories of /proc. I'm not much aware of the usage of these files, but curious to know whether if someone from the machine used "rm -rf /proc" or someone writes them for the purpose of corrupting them, then how it is going to harm the server? I'm running CentOS 6.4.

I have the same situation for the /selinux directory, here as well I have few files which are writable by others.

share|improve this question
    
/proc is not your regular filesystem. It's a virtual filesystem. It shows you the contents of your memory (RAM) with things like open file descriptors of running processes (among many others). As for why some of its files would be world-writable, beats me. Read more here. –  Joseph R. Apr 15 '13 at 21:03
add comment

1 Answer

The /proc file-system can be used to configure the kernel from within user space by writing data to appropriate files. Here's some relevant reading.

share|improve this answer
add comment

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.