Skip to content

Commit 81467ae

Browse files
jostar-yangyxieca
authored andcommitted
[devices]: Fix cpld sysfs permisson error for accton devices (#2457)
1 parent 16b202f commit 81467ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

platform/broadcom/sonic-platform-modules-accton/common/modules/accton_i2c_cpld.c

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ struct attrs plain_common[] = {
194194
struct base_attrs portly_attrs[] =
195195
{
196196
[SFP_PRESENT] = {"module_present", S_IRUGO, show_bit, NULL},
197-
[SFP_RESET] = {"module_reset", S_IRUGO|S_IWUGO, show_bit, set_1bit},
197+
[SFP_RESET] = {"module_reset", S_IRUGO|S_IWUSR, show_bit, set_1bit},
198198
};
199199

200200
struct attrs as7712_port[] = {

0 commit comments

Comments
 (0)