From e67f1da9ba223d7fdb6e492e6d0b2761ebf79e27 Mon Sep 17 00:00:00 2001 From: jostar-yang Date: Fri, 18 Jan 2019 00:56:46 +0800 Subject: [PATCH] [devices]: Fix cpld sysfs permisson error for accton devices (#2457) --- .../common/modules/accton_i2c_cpld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 platform/broadcom/sonic-platform-modules-accton/common/modules/accton_i2c_cpld.c diff --git a/platform/broadcom/sonic-platform-modules-accton/common/modules/accton_i2c_cpld.c b/platform/broadcom/sonic-platform-modules-accton/common/modules/accton_i2c_cpld.c old mode 100644 new mode 100755 index aae4e5538b..3712d1a396 --- a/platform/broadcom/sonic-platform-modules-accton/common/modules/accton_i2c_cpld.c +++ b/platform/broadcom/sonic-platform-modules-accton/common/modules/accton_i2c_cpld.c @@ -194,7 +194,7 @@ struct attrs plain_common[] = { struct base_attrs portly_attrs[] = { [SFP_PRESENT] = {"module_present", S_IRUGO, show_bit, NULL}, - [SFP_RESET] = {"module_reset", S_IRUGO|S_IWUGO, show_bit, set_1bit}, + [SFP_RESET] = {"module_reset", S_IRUGO|S_IWUSR, show_bit, set_1bit}, }; struct attrs as7712_port[] = {