[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem in changing permissions for a directory



Because /proc is a pseudo filesystem that is actually just stats from the Linux kernel provided in a file/directory format.  Permissions for each thing are predefined and aren't intended to be changed.  You can read values from it and you can write back to the files.  Typically, this is just for root to write to though there are a couple of exceptions I believe.  

On Thu, Apr 30, 2015 at 10:04 AM, Arghya Das <arghya0190@gmail.com> wrote:
why cant i change values of this file : /proc/sys/net/ipv4/ip_forward

 I tried to change ownership of the directory but :

my_username@019:~$ sudo chown my_username /proc/sys/net/ipv4/
chown: changing ownership of `/proc/sys/net/ipv4/': Operation not permitted

Can someone help to solve the problem plz..



Reply to: