From 26ba0eb898a64dc3b546eb5e29e833c53e13a08d Mon Sep 17 00:00:00 2001 From: bobijam Date: Wed, 10 Sep 2008 02:52:17 +0000 Subject: [PATCH] Branch b1_8_gate b=16643 o=Herb Wartens (hwartens@llnl.gov) i=adilger i=johann Description: Generic /proc file permissions Details : Set /Proc file permissions in a more generic way to enable non- root users operate on some /proc files. --- lustre/mgc/lproc_mgc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/mgc/lproc_mgc.c b/lustre/mgc/lproc_mgc.c index a817264..c679668 100644 --- a/lustre/mgc/lproc_mgc.c +++ b/lustre/mgc/lproc_mgc.c @@ -44,7 +44,7 @@ static struct lprocfs_vars lprocfs_mgc_obd_vars[] = { { "uuid", lprocfs_rd_uuid, 0, 0 }, - { "ping", 0, lprocfs_wr_ping, 0 }, + { "ping", 0, lprocfs_wr_ping, 0, 0, 0222 }, { "connect_flags", lprocfs_rd_connect_flags, 0, 0 }, { "mgs_server_uuid", lprocfs_rd_server_uuid, 0, 0 }, { "mgs_conn_uuid", lprocfs_rd_conn_uuid, 0, 0 }, -- 1.8.3.1