|
From: Martin W. <mar...@li...> - 2009-07-30 06:02:18
|
Thanks for your answer,
How do you suggest to change the fstab ?
I will try to recompile the kernal, seems related to the grsecurity patch.
I haved changed my setup so that grsecurity includes a group for proc.
The reason is that i use zabbix for monitoring and zabbix needs to read i think /proc/net
to be able to report data on the network interfaces.
At least it have to access to some parts of the /proc file system
/Regards Martin
----- Ursprungligt meddelande -----
Från: "warptrosse" <war...@gm...>
Till: dev...@li...
Skickat: torsdag, 30 jul 2009 0:12:32 GMT +01:00 Amsterdam/Berlin/Bern/Rom/Stockholm/Wien
Ämne: Re: [Devil-Linux-discuss] rights
(as I understand) /proc is a virtual fs, it is created by the kernel, if you want to change that, you must recompile the kernel
take a look at <kernel sources>/fs/proc/base.c
static const struct pid_entry tgid_base_stuff[] = {
DIR("task", S_IRUGO|S_IXUGO, proc_task_inode_operations, proc_task_operations),
DIR("fd", S_IRUSR|S_IXUSR, proc_fd_inode_operations, proc_fd_operations),
DIR("fdinfo", S_IRUSR|S_IXUSR, proc_fdinfo_inode_operations, proc_fdinfo_operations),
#ifdef CONFIG_NET
DIR("net", S_IRUGO|S_IXUGO, proc_net_inode_operations, proc_net_operations),
#endif
REG("environ", S_IRUSR, proc_environ_operations),
INF("auxv", S_IRUSR, proc_pid_auxv),
this -> S_IRUGO|S_IXUGO are the default permissions of /proc/net directory
OR :), try if changing your fstab works
anyway why you need to change that?
regards
On Wed, Jul 29, 2009 at 1:12 PM, Martin Wilderoth < mar...@li... > wrote:
Hello
my /proc/net directory has dr-x------
I would like to have dr-xr-xr-x or dr-xr-x--- with changed group.
How do I change this ?
/Best Regard Martin
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Devil-linux-discuss mailing list
Dev...@li...
https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss
--
WARPTROSSE {The knowledge of a man belongs to all the humanity}
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ Devil-linux-discuss mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss |