Whamcloud - gitweb
Branch b1_8_gate
authorbobijam <bobijam>
Wed, 10 Sep 2008 02:52:17 +0000 (02:52 +0000)
committerbobijam <bobijam>
Wed, 10 Sep 2008 02:52:17 +0000 (02:52 +0000)
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

index a817264..c679668 100644 (file)
@@ -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 },