Change permission to /proc/net/ip_conntrack on Ubuntu server 9.10
Posted
by bjarkef
on Super User
See other posts from Super User
or by bjarkef
Published on 2010-03-28T10:22:38Z
Indexed on
2010/03/28
10:33 UTC
Read the original article
Hit count: 270
Hi
I have a script that needs to extract certain information form the /proc/net/ip_conntrack file once in a while. I do not wish to run this script as the root user.
Default permissions for the file is:
$ ls -lah /proc/net/ip_conntrack -r--r----- 1 root root 0 2010-03-28 12:18 /proc/net/ip_conntrack
I can change it with:
sudo chmod o+r /proc/net/ip_conntrack
But that does not stick after a reboot. Is there some configuration file for file-permissions in the /proc directory in Ubuntu Server 9.10? Or do I just have to stick a chmod line in some startup script?
© Super User or respective owner