1

I am trying to secure a linux Ubuntu box and I am no expert. I am following guidance available on the net.

Section 15.2 discusses world-writable files. The following command

find / -type f -perm -o+w -exec ls -l {} \;

returns a long list of files all located under /proc.

My question is: is this a good or a bad thing regarding security? Should I do something about these files?

Thanks!

1
  • find / -type f -perm -o+w -ls will produce mostly the same output but in a shorter way. I hope you appreciate it. :) Mar 5, 2011 at 3:47

2 Answers 2

4

The short answer is there's nothing you can do about it, so don't worry about it.

Files under /proc are generated automatically, and aren't "real" files. They are pointers to various OS settings and resources. You'll probably notice they all have a length of 0 as well.

You can safely ignore these.

2

In your case, don't care about files in /proc and /sys.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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