Files with write permission for all in /proc directory on CentOS 6.4

1

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.

user217086

Posted 2013-04-15T06:33:23.297

Reputation: 11

/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. – 2013-04-15T21:03:17.603

Answers

0

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.

Joseph R.

Posted 2013-04-15T06:33:23.297

Reputation: 474