--- a/drv.c
+++ b/drv.c
@@ -65,7 +65,7 @@

 #define __RW_ATTR(attr) \
     static struct kobj_attribute dev_attr_##attr = \
-        __ATTR(attr, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH, attr##_show, attr##_store);
+        __ATTR(attr, S_IRUSR | S_IWUSR, attr##_show, attr##_store);

 static struct ryzen_smu_data {
     struct pci_dev*         device;
